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

#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }

15 Answers   Infosys,


which operator having lowest precedence?? a.)+ b.)++ c.)= d.)%

4 Answers  


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

0 Answers  


plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 Answers  


what are the 10 different models of writing an addition program in C language?

0 Answers  


a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..

1 Answers  


print ur name without using any semicolon in c/c++....

21 Answers   Bosch, TCS, Wipro,


Is there a way to compare two structure variables?

0 Answers  


Explain in detail how strset (string handling function works )pls explain it with an example.

1 Answers  


Write programs for String Reversal & Palindrome check

0 Answers   TISL,


5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function

1 Answers   TCS,


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


Categories