int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?

Answers were Sorted based on User's Feedback



int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output? ..

Answer / shruti

Compilation error..

no. of arguments do not match the parameters..

Is This Answer Correct ?    8 Yes 15 No

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output? ..

Answer / amit

declaration should be done separately.. ans:a=1

Is This Answer Correct ?    5 Yes 17 No

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output? ..

Answer / raj

error

Is This Answer Correct ?    4 Yes 25 No

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output? ..

Answer / rahul

1,2,3

Is This Answer Correct ?    12 Yes 47 No

Post New Answer

More C Interview Questions

What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none

2 Answers   Oracle,


Is there a way to jump out of a function or functions?

0 Answers  


In c programming language, how many parameters can be passed to a function ?

0 Answers  


what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


Explain how do you list a file’s date and time?

0 Answers  






How is pointer initialized in c?

0 Answers  


How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?

2 Answers  


Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?

1 Answers   IBM,


Why are algorithms important in c program?

0 Answers  


Explain the difference between getch() and getche() in c?

0 Answers  


What is main () in c language?

0 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

3 Answers   IBM,


Categories