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 difference between a function and a method in c?

0 Answers  


print the palindrome numbers in between 0 to n

1 Answers  


Disadvantages of C language.

0 Answers   Impetus,


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

0 Answers   HP,


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

0 Answers  






What are valid signatures for the Main function?

0 Answers  


What is sizeof c?

0 Answers  


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


how to find binary of number?

2 Answers  


Is there a way to compare two structure variables?

0 Answers  


Find if a number is power of two or not?

1 Answers  


when user give a number it multiply with 9 without useing '+' and '*' oprator

4 Answers  


Categories