Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 #define used for in c?

0 Answers  


What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?

3 Answers  


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }

9 Answers   TCS,


wap to print "hello world" without using the main function.

22 Answers   TCS, Wipro,


Is using exit() the same as using return?

0 Answers  


the operator for exponencation is a.** b.^ c.% d.not available

5 Answers   TCS,


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,


What is the use of bit field?

0 Answers  


When should a far pointer be used?

0 Answers   Aspire, Infogain,


Write a program to know whether the input number is an armstrong number.

0 Answers   Wipro,


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


Categories