Part 6 | Functions and Type of Functions | C Programming Malayalam Tutorial
ฝัง
- เผยแพร่เมื่อ 9 ต.ค. 2024
- Register now for 100k Coding Challenge : study.brototyp...
Today I will be discussing with you about ‘Functions and its Type’. Also, we will be doing some coding problems related to this particular topic.
I hope you will enjoy today's tutorial and please provide your valuable feedback in the comment session.
09:47 string
18:55 Multi Dimensinal Array
37:08 Functions
40:49 Argument/parameter
41:00 Return value
42:29 Void main
50:37 Function with lout argument without return value
58:13 Function with argument with out return value
01:06:33 Function with argument & with return value
01:14:12 Function without argument &with return value
01:24:32 pointers
Today’s assignment:
tiny.cc/100kday...
#100K Coding Challenge is a series of 10 programming tutorial videos in Malayalam which is an initiative by Team Brototype (Former Crossroads) to teach programming in the simplest possible manner to 1 lakh students across Kerala completely FREE of cost.
Register Link: study.brototyp...
Certificates will also be issued to candidates who complete the whole 10 videos and pass the Test successfully.
Video tutorials will be uploaded and published on our Brototype Malayalam (Former Crossroads) TH-cam channel.
Participants are requested to subscribe and enable notification on our TH-cam channel inorder to get the tutorial videos as soon as they are released.
About us:
#Brototype (Former Crossroads) is Kerala's #1 tech TH-cam channel for students looking to frame a good career in the tech industry. Our mission is to make a positive change in the lives of people by providing them with valuable information and actionable steps.
In this channel,We help you develop coding skills for free by providing various programming tutorials & tech-career topics in Malayalam, that helps you achieve a job in the IT industry.
To get 24/7 Technical support while watching our tutorials, Sign up for 6 months Brototype Malayalam (Former Crossroads) Exclusive Membership,
Link to Sign up: rzp.io/l/cross...
For Enquires, Contact: Ameer: 7034395811
Further, if you wish to study offline with us in an office environment, You can enroll for Brocamp, Which is a 6-month offline training program where you learn coding skills & let you pay the course fee after placement.
Brocamp (former SPS): Visit brototype.in/
Call: 7902606117
Want to connect with Nikhil Kilivayil personally?
check: getmytym.com/n...
Connect us on Social Media:
Instagram: / brototype.malayalam
Linkedin: / brototype
Facebook: / brototypemalayalam
Connect Nikhil Kilivayi on Social Media:
Instagram: / nikhilkilivayil
Linkedin: / nikhilkilivayil
Facebook: / nikhilkilivayil1
#programming
Sir pointers um koodi parayamo best class i ever heard this class is differ from colllege classes is because of the example and the way the nikhil sir conveying is really aprecitable
I am 46 year old mechanical engineer , working in dubai, i tried to learn "C" since 2001 but i never got a good guidance and i left behind my passion, after i saw ur tutorial videos i started to learn , now i am very passionate about coding .Now i am planning to switch my carrier .i don't know wether this is the right age,but still i decide to continue learning,i am very keen about Blockchain and its technology. I want to become a blockchain developer,after acquiring advance knowledge of programming, plan is to learn solidity . Thanks a lot NIKIL. Thanks a lot for ur wonderful tutorials.I tried to register in your site , but not getting OTP.
Hi Antony, its better you can connect to our team 7034395811 if you’re serious about learning Blockchain
Glad to hear.. What you doing now?
7 വർഷം പഠിച്ചിട്ട് ഇപ്പോഴാണ് function മനസ്സിലായത്... Sir ന്റെ ക്ലാസ്സ് ഒരു രക്ഷയില്ല... Thankyou very much for your dedication to make our skills to another level.. ❤️
Thank you ❤️
Killadi thane
Simple but powerful presentation 👏
Nala teachers undl manasilaki edukavnthe ulu ethu subjectm
💯😊
Cant Express the happiness in words!!!!!!!this channel is such a gem🔥
thank you ♥️
💯💯💯💯💯
@@muhammadshahal8028 nte Shalu muthee 😂😂
indeed
I have put a comment 7 days before and today i am writing this to inform that i got a LOI from Quest as trainee engg. As a mechanical engineer graduate, i did not have any knowledge in programming... In that time i saw this channel accidently and started studying. When i completed this video about function... I have been called for the technical interview. And then attend HR interview. The reason for me to get into this position is only because of this channel and Nikhil sir.
Thank you so much ❤
Bro selected ayo?
People watching in 2024:
Yes
2024 ayall cash award kittio
Me for exams😂
Yes
ഞാൻ ഇംഗ്ലീഷ്, ഹിന്ദി കോഡിങ് ക്ലാസ്സ് ട്രൈ ചെയ്തിട്ടുണ്ട്. എങ്ങനെ പഠിപ്പിക്കണം, എവിടെ നിന്ന് സ്റ്റാർട്ട് ചെയ്യണം എന്നു ആരും പറയാറില്ല.പ്രോഗ്രാമിഗിന് ലോകത്തിലെ മികച്ച ക്ലാസ്സ് ക്രോസ്സ്രോഡ്സ് ആണ്. നിങ്ങൾ വേറെ ലെവൽ ആണ് മാഷേ.. 😍😍😍🌹🥰
Thank you so much man ❤️
I didn't even know the code for a simple sum before i started this journey with crossroads...this is the best progrming classes that i have ever attended in my life❤️😍thank you so much sir for these beautiful and simple sessions...great job👍even after so many days from uploading this video...still this team gives reply to each and every doubts we havee...thankyou so much...
its our pleasure helping you guys to learn ♥️♥️♥️
Base level training... Wonderful to have such a teacher and explanation is lit..Always smiling .. Spreading smile😁
Thank you ❤️
thanks sir, I don't know even a scanf & printf well before 1st episode but now feel so easy after 6 class.(same like u as +2 bio & cleared CP subject by luck)
Keep watching
@@BrototypeMalayalam palindrome program onn explain cheyyavo
Function Without Argument With Return Value
int sum();
int main(void){
int res;
res=sum();
printf("Result is %d", res);
return EXIT_SUCCESS;
}
int sum(){
int num1,num2,result;
printf("Enter 2 numbers");
scanf("%d%d", &num1,&num2);
result=num1+num2;
return result;
}
1 st prize 100000.phone number thannal google pay cheyyaam😆
Bro oru dout namal return result elle athe res le sum(res ); egane alle sherikum verande
Tnx
To print full name
#include
#include
int main(){
char name[19],lastname[20];
printf("Enter a name");
scanf(("%s %s"),name,lastname);
printf("Entered name is %s %s",name,lastname);
}
full name type r cheyyan paranja ellarrum space ittittale kodukku, enter aadikkillalloo
String
string is a character Array.
char name[4];
printf("%s",name);
scanf("%s",name);
String
char name[44];
printf("Enter your name ");
scanf("%s",name);
printf("Entered string is %s",name);
Multidimensional array Metrix
int i,j,a[3][3];
printf("Enter values
");
for(i=0;i
I can't thank you enough for making this series ☺
Hello sir, I completed all c basics. Thank you sir. I understand all basics. Now able to code 😇
Great, far more to go
All the best 👏🏼
Today i am in the 6th day of C learning ..Nikhil boss ningalodulla respect koodi varuvanu daily oro videos kanumbolum.Ithrayum easy ayitu oronnum paranju tharumbol sherikum class kazhiyumbol manassu nirayum...Jnan Degree,MCA okke padicha oridathum ithra oru satisfaction kiteetilla. You are really a gem.. you come down to us and explain in a way that we become masters in each topics😍😍..A big salute to you sir for bringing such a good channel for us.This is the real teaching.
Its our pleasure ❤️
വളരെ നല്ല അവതരണം 👌
എല്ലാം ചാനലിലെ പോലെത്തെ viewer അല്ല ഇതില് ...ഇതില് subscribe ചെയ്യുന്നവര് വിട്ട് പോവാത്ത ആളുകളാണ് അത്കൊണ്ട് തന്നെ റീച്ച് കിട്ടാന് താമസിക്കും ....onelakh ഇപ്പോ ആവും 10 lakh ഞമ്മളെ ലക്ഷ്യം
pinnellah 🤩
After 3 hours of rewatching and perseverance to keep going I completed day 6 with full enthusiasm.
Coding was logic..logic is crossroads..crossroads was success..success was yours..
Very thankful for ur sincere classes sir..... Cheriya topics polum deep ayi paranjutharunnund.
Function without argument &with return value
int sum();
int main(void) {
int k;
setbuf(stdout,NULL);
k=sum();
printf("Result=%d",k);
return EXIT_SUCCESS;
}
int sum(){
int a,b,c;
setbuf(stdout,NULL);
printf("Enter 2 numbers");
scanf("%d%d",&a,&b);
c=a+b;
return c;
}
After studying Python for a year and c++ for another year, I have a limited understanding of both languages. But now learned c language basic within 3 hours and am continued my studies
👨🏫Brototype..I want to give you a Big clap👏 for giving such an amazing class for coding interested students for free❤.You helps us to improve our coding knowledge and logic.May God bless you..Ameen🤲.
Thanks a ton
bro enik full stack padikkan aanu aagraham....basic coding padikkan aanu ee series start cheytha....ippam functions vare complete cheyth...adtha oops aanu so,ippazhe oop JS inu vendi padikkenda aavoishyam indo...atho pinna mathiyo...anganaanel enik ithuvazha padicha 6parts nallapole onnu revission cheyyarn....adtha ethaanu JS padikkan upakaarapedunnath ennukoodi onnu parayyo....html,css complete aaki....athu udemy enna oru coursil koode aanu...pinne athil JS thudangiyappo nalla tuff aarn angane aanu ingot vannath....so,adtha enthaanu cheyyande .....please reply
C programminte continuation chymo
Because nikhil sir's teaching and presentation skill is amazing..
Even without laptop i can understand this class❤.
I still remember cs teacher's confused face when i asked more details about class and function in my +2 years. Now I realised that even he didn't have an
Idea or didn't have the capability to make us understand . Valuable content keep rocking.
Day 6 function without argument with return value challenge
#include
#include
int sum();
int main(void)
{
int c;
setbuf(stdout,NULL);
c=sum();
printf("
Sum of your entered number is : %d",c);
return EXIT_SUCCESS;
}
int sum()
{
int num1,num2,result;
printf("Enter two numbers : ");
scanf("%d%d",&num1,&num2);
result=num1+num2;
return(result);
}
concept clear ayitt convey cheythu programming language edutha nikhil sir.....thanks a lot sir.....
thanks man ❤️
int main(void) {
setbuf(stdout,NULL);
char name[20];
printf("Enter your name");
scanf("%s",name);
printf("I think ur name are %s",name);
return EXIT_SUCCESS;
}
This is what I need....this level of knowledge...this level of confidence 💯
👍🏻
assignment 1
#include
#include
#include
int main(void) {
int i,limit,flag=0;
char word[100];
setbuf(stdout,NULL);
printf("enter a word
");
scanf("%s",word);
limit=strlen(word);
for(i=0;i
Assignment 1doubts what is setbuf function used
@@ajithm8671sometimes the console output remains blank even after running a whole program. In such cases, we use setbuf(stdout,NULL); for getting the output in console
Onedoubt assignment 1 le strlen annath anthan?
@@dilipkumar.r8096strln() function is used to find the length of a string
1 assignment
for beginners puthiyaa kore sanam indlo parannu pedichu ponda ethil ollathu simple anu ethu kandu aranilla manasilayilla nu indel just egana palindrome check cheyya nu google chey first ayu thanne korechu steps varum athil manasilavatha new syntax just youtube search chey video kanu manasilavum simple anu
#include
#include
int main()
{
int i,l,flag=0;
char a[20];
setbuf(stdout,NULL);
printf("Enter the word");
gets(a);
l=strlen(a);
for(i=0;i
Great classes... Thanks a lot to Nikhil Sir to let me think about a carrier change...I saw your classes only in the last week... Now I'm an excited student of this 100 K Challenge. Completed till Functions... Hope Your Channel will help me a lot as a first step into Software Field. 🙏
sure, all the very best 👍🏼
@@BrototypeMalayalam 🤗
manasilakunud Ennalum orupadu practical aayittu cheyyendathund ❤❤❤❤❤❤
sir paranjathupole follow cheyyunud.
ippol ethratholam ethi learning bro? now what u studing?
ഇതൊക്കെ ആണ് യഥാർത്ഥ teaching❤️
You are a best example for computer science teachers ..
Sir, you are a gem ❤❤
I was having all the byheart knowledge of these topics. but never had the complete knowledge of the topic. this was well communicated through this tutorial.
Cool
please explain assignment 3 question (how do we return array? from a function)
I think we need to use pointer
Assignment 2 : Sum of Array Solution:
int main(void) {
setbuf(stdout,NULL);
int i,j, a[3][3],b[3][3], sum[3][3];
printf("Enter Values of first Array");
for(i=0;i
Function without argument and with return value
#include
int sum();
int main()
{
int result;
result=sum();
printf("result is %d",result);
return 0;
}
int sum(){
int num1,num2,sum;
printf("enter 2 numbers");
scanf("%d%d",&num1,&num2);
sum=num1+num2;
return sum;
}
Good class........Thank you, sir.
Most welcome
36:49 One of the best motivation ever❤️
#include
#include
int main(){
char string[100];
int i,length=0,flag=0;
printf("Enter a word");
scanf("%s",string);
for(i=0;string[i]!='\0';i++){
length++;
}
for(i=0;i
Ithinte answer not a palindrome matharame varunnullallo
Brase open alla
String liberary illathe cheyan patto???
Bro ഇതിനകത്ത് flag=1,flag=0
എങ്ങനെയാ operate ആകുന്നത് എന്ന് എത്ര ആലോചിച്ചിട്ടും പിടികിട്ടുന്നില്ല. ഒന്നു പറഞ്ഞു തരാമോ
Part-6 le assignment first question palindrome case ath enghane okkey noketum settavunila padikatha puthiya sambavagal okkey athil kanunu #include athil string pinne ctype angane okkey athinte oru example code kanikkamo normal ayitullath atho aa oru case angane thanne cheyyan patollo?. Ith completed akathe next povan manas sammashikunila ithil ippo stuck aayi nikeen onn help akuvo fgets angane kore vere enthokkeyo varunud
Nammude Telegram group il join cheyyu, avde tech support help cheyyum brototype.com/learningclub/org/fullstack/?ref=youtube%20malayalam
This coding is well understood;
Thanks to Brotype Channel for understanding this
#include
#include
int addition();
int main(void) {
int result;
result=addition();
printf("sum is: %d",result);
return EXIT_SUCCESS;
}
int addition(){
int a,b,res;
printf("Enter 2 numbers: ");
fflush(stdout);
scanf("%d%d",&a,&b);
res=a+b;
return res;
}
.
.
agane c program complete aaki njan ...sir thankyou enik pattilla, enik pattiya field allannoke vijarich irunna enik ipo erekure c program thanne cheyan sadhikunnind ... ente same situation l ulla kure friendsinu njn nammude ee channelinte link ayachu koduthatind ..avar ith follow cheyth swayam ariyate avare kondum pattuunn...
Great
C inte basic polum illatheyanu video kandu thudagiyathu..... Eppo manasilayi enikum oru developer akan pattum...... sir nannaittu explain cheyunnundu .....
This class is so cool,I can understand all the programs very well.Thank You !!!
Welcome ❤️
1.Int main(void) ivide ulla void enda udheshikune ?
2.Main functionil last return EXIT_SUCCESS; endanu udheshikunathu ?
Same doubt
Njan college padikkumpo C inte paper just 4 mark inne anu pass ayi anu enthokke ezhuthi vechu.. ipol anu C serikkum manasillayath... Ee video enne padipicha teacherku ayichu kodukkanam...
@@sarathchelath8079 niyum kannam thudangile nannayi makkanne🙌🙌
Function without args and with return value
#include
You are doing a great job!
❤️
Sir nte 100k series full padichann.. Njan thought work chennai..Placement Written test nn poyath... Njan qualified aayi in written test...💖
Placed ayal update cheyyu 🤩
Sir please do some major project in python for beginners this will be very helpful sir pls do give some project ideas
Okay 👍🏼
In case use
string =string
Add #include
Strcmp -string comparison function
Awesome.... Nikhil sir... you are a good teacher
Sidil project name kude oru red color × sign kanikunnth enthanennu manasilakunnilla
The way of he power things up really blowed my mind.
I really enjoyed watching the video.
You are really the brother who I need.❤
Thank you so much 😀
Hi is it possible to get the number of rows and columns needed from the user itself.. Instead of entering it our self.... I tried it but did not work.. Please help
yes it is possible 🙌🏼
Use
int m,n;
printf("enter array size");
scanf("%d%d",&m,&n);
int array[m][n];
without argument with return value
#include
#include
int sum();
int main(void) {
int r;
setbuf(stdout,NULL);
r=sum();
printf("result is %d",r);
return EXIT_SUCCESS;
}
int sum(){
int a,b,result;
printf("enter 2 numbers");
scanf("%d%d",&a,&b);
result=a+b;
return result;
}
Njan ivide ethi.... 😁 and thank u for making c language much easier........... Thank you nikhil sir❤
you’re welcome ❤️
sir num compiler num maatra code itra perfect aaayitt manassil aaayitullu....grt sir😁😁
Assignment 3:
int disp(int);
int get(int);
int main(void) {
int n,i,values[100];
setbuf(stdout,NULL);
printf("enter array size");
scanf("%d",&n);
values[i]=get(n);
values[i]=disp(n);
return EXIT_SUCCESS;
}
int get(int lim){
int i,values[100];
setbuf(stdout,NULL);
printf("enter values ");
for(i=0;i
this also working but how the "void disp" geting user inputing array values 🤔how!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#include
#include
void disp(int);
void get(int);
int main(void) {
int n;
setbuf(stdout,NULL);
printf("enter array size");
scanf("%d",&n);
get(n);
disp(n);
return EXIT_SUCCESS;
}
void get(int lim){
int i,values[100];
setbuf(stdout,NULL);
printf("enter values ");
for(i=0;i
Thanku sir manasilaki thannathinu ...lots of thanks,,🥰🥰
Function prinf should have a prototype...this shows up when am doing in msdos c++
Isuue enthanenu ariyila. Google search cheythu noku onu. Kittiyilenkil contact 8848772811
Assignment 1: strlen() എന്ന ഒരു പുതിയ function വെച്ചാണോ ചെയ്യേണ്ടത്. ഇത് വരെ പഠിച്ചത് വെച്ച് ചെയ്യാൻ കഴിയുന്നില്ല. ഇത് ഗൂഗിൾ ചെയ്തപ്പോൾ കിട്ടിയതാണ്. വേറെ മാർഗ്ഗമുണ്ടോ Pls replay
for loop vech cheyyam bro
pointers is much more confuseing
can you do a video on it
Athu thanniyee search cheythu padikaan nokee...
Vere level class ❤❤
Functions without argument and with return
int sum();
int main(void) {
int k;
setbuf(stdout,NULL);
k=sum();
printf("Result is %d.",k);
return EXIT_SUCCESS;
}int sum(){
int a,b,result;
setbuf(stdout,NULL);
printf("Enter two numbers.");
scanf("%d%d",&a,&b);
result=a+b;
return result;
Sir, skip cheyyan thonnunnilla. Adypoli presentation 💯👌🏻
🙌🙌
Starting this video today,Woohoooooooooooooooooooo!
❤️❤️❤️
Function without argument with return value
#include
int sum();
int main() {
int k;
k=sum();
printf("Result is %d
",k);
return 0;
}
int sum(){
int num1,num2,c;
printf("Enter 2 numbers
");
scanf("%d%d",&num1,&num2);
c=num1+num2;
return c;
}
Thank you so much 🤗
It's helped me a lot
Now iam very interested in coding 😌🎉
you’re welcome man ❤️
Int sum();
Int main(void){
Int k;
k=sum();
Printf("result is %d", k);
Retun Exit_Success;
}
Int sum(){
int a,b,c;
Printf("enter two numbers") ;
Scanf("%d",&a,&b);
C=a +b
Return C;
its wrong ,put two" %d" in scanf
#include
#include
int main(void) {
int result;
result=sum();
printf("%d",result);
return EXIT_SUCCESS;
}
int sum(){
int num1,num2,sum;
printf("Enter 2 numbers");
scanf("%d%d",&num1,&num2);
sum=num1+num2;
return sum;
}
Sir great effort aanu sir എടുത്തിരിക്കുന്നത് thank u so much🥰🥰🥰
Sir i think return EXIT_SUCCESS എന്താണെന്നു sir explain ചെയ്തിട്ടില്ലെന്ന് തോന്നുന്നു അഥവാ എന്റെ mistake ആണെങ്കിൽ എതു vdo il ആണ് പറഞ്ഞിരിക്കുന്നത് എന്ന് പറഞ്ഞാൽ നന്നായിരുന്നു
Thank you so much sir ❤
Hi sir, njn ee channel il ethi pedunnath oru glimpse vazhi ahn.. .. And njn intrested ayi..ippo part 6 vdo il vannu nilkunnu.. I think I'm progressing .. Thank u for making this opprtunity.. Njn late ayo.. Enna nu ente samsayam actually..oru 2 yrs munbe ee program ne kurich arinjirunnengil.. Ipo bro campil okke vannu kurach koodi set ayene.. Ipo.. Njn vtl irunnu basics padikukayan.. Hope I could be too into a IT field like my sister.. Hoping all support frm you.. Thirichum👍
💥💥 All the best
33:00 explanation 🔥
❤
Assignments Day 6.1
Question
Write a program to identify whether a string is a palindrome or not👇
Answer
#include
#include
#include
int main(void) {
setbuf(stdout,NULL);
int i,length,flag=0;
char word[20];
printf("Enter a String
");
scanf("%s",word);
length=strlen(word);
for(i=0;i
Assignment day 6.3 il Array,Array2 ith randum different ayitum enthukond aan ans kittunnath enn paranj tharamo
thnx bro
Ithil... Palindrome nte problem ill.... If()condition ill nthinna factorial(!) Vechath....?
@@niyadsunil4745 factorial means not equal to ennan bro
bro can u please explain the working of string is palindrome or not .I didn't get the logic@wolfmalayalam
Nalla presentation I like it njhanum thudaghi
All the best 👏
Sir the Palindrome-check program in today's assignment is a bit confusing... despite correct logic, getting output wrong
Connect to our team, we will help you
7034395811 ❤️
Same
Gpt nod choichappol ingane aan output thannath
#include #include int main() { char str[100]; int i, length; int flag = 0; printf("Enter a string: "); scanf("%s", str); length = strlen(str); for(i=0;i < length ;i++){ if(str[i] != str[length-i-1]){ flag = 1; break; } } if (flag) { printf("%s is not a palindrome", str); } else { printf("%s is a palindrome", str); } return 0; }
Ithil length -i kazhinj minus 1 enthinan?
get and display 2d array with different functions:
void getArray(int row,int column,int array[row][column]);
void displayArray1(int row,int column,int array[row][column]);
int main(){
int row,column;
setbuf(stdout,NULL);
printf("Enter the row value and column value of 2d array:
");
scanf("%d %d",&row,&column);
int array1[row][column];
getArray(row,column,array1);
displayArray1(row,column,array1);
return 0;
};
void getArray(int row,int column,int array[row][column]){
int i,j;
for(i=0; i
best class sir,sir nte oro class um ethra perde life aanu change cheyyunne.keep going sir
2002 padichathanu PALAPOZHUM VATTAKUM BTCH KAZHINJA FACULTICAL VANNITTUM MANASILAYITTILLAAA.....NALLA😍 CLASS...BEST WISHES
ASSIGNMENT 1
#include
#include
int main()
{
char str[100];
int i,len,temp=0;
printf("Enter a string:");
scanf("%s",str);
len = strlen(str);
for(i=0;i < len; i++){
if(str[i] != str[len-i-1]){
temp = 1;
break;
}
}
if (temp==0) {
printf("string is palindrome");
}
else {
printf("string is not a palindrome");
}
return 0;
}
Len=strlen(str) ഇത് എന്താണ് ഒന്ന് പറയുമോ
@@adilcp235 strlen is an inbuilt function, it reads number of characters in string... Suppose string="hello", it has 5 characters... So strlen will give 5
@@asher46 thanks🥰
@@adilcp235 u r welcome bro
nice class sirr ellam easy ayi mansilayiiii
Nice class ,❤️
Thank you! 😃
Best Teacher in My Life...
Assignment 3:
#include
#include
void getArray(int n);
void displayArray(int n);
int main(void) {
int n;
setbuf(stdout,NULL);
printf("enter the limit:");
scanf("%d",&n);
getArray(n);
displayArray(n);
return EXIT_SUCCESS;
}
void getArray(int n)
{
int i,j,a[20][20];
setbuf(stdout,NULL);
printf("enter the array elements:
");
for(i=0;i
Not getting output
Could you please provide another link to assignments or post the questions as reply.. .
okay! let us solve it ASAP, you can connect to our team 7034395811 for the links
Fantastic class....👌👌👌👍
Function with out argument and with return value
#include
int sum();
int main()
{
int res;
res=sum();
return 0;
}
int sum()
{
int num1,num2,result;
printf("enter two elements:");
scanf("%d%d",&num1,&num2);
result=num1+num2;
printf("Result is %d",result);
return result;
}
Answer for 3 Assignment :-
#include
#include
void getArray(int);
void displayArray(int);
int main(void) {
int limit;setbuf(stdout,NULL);
printf("Enter Input Limit");
scanf("%d",&limit);
getArray(limit);
displayArray(limit);
return EXIT_SUCCESS;
}
void getArray(int limit){
int values[100][100],i,j;setbuf(stdout,NULL);
printf("Enter Values");
for(i=0;i
ഒരുപാട് നന്ദി നിഖിൽ സാർ🥰
multidimensional ARRAY manassilaayiknu..😍
google polulla companiesil keran enthoram typing speed vendi varum
Assignment 6(1)
answer(1)
#include
#include
int main(void) {
char word[20];
int limit=0,i,j,flage=0;
setbuf(stdout,NULL);
printf("Enter a string :");
scanf("%s",word);
for(i=0;i
given name palindrome or not
#include
#include
int main(void) {
int limit,i,flag=0;
char value[20];
setbuf(stdout,NULL);
printf("Enter the limit: ");
scanf("%d",&limit);
printf("Enter the name");
scanf("%s",value);
for(i=0;i
sum of two 2 diamentional arrray:
#include
int main()
{
int a[100][100],b[100][100],i,j,limit,sum;
printf("enter the size of array");
scanf("%d",&limit);
printf("enter the values of array 1:");
for(i=0;i
int sum();
int main(void) {
int res;
res=sum();
printf("Entered Value is: %d",res);
return EXIT_SUCCESS;
}
int sum(){
int num1,num2,result;
printf("Enter 2 numbers");
setbuf(stdout, NULL);
scanf("%d%d",&num1,&num2);
result=num1+num2;
return result;
}
Ok Anoo?
Yes. Correct anu