int a=2,b=3,c=4;
printf("a=%d,b=%d\n",a,b,c);
what is the o/p?
Answer Posted / vignesh1988i
a=2 and b=3;;;; why it dosent print the value of 'c' is...
we didnt specify any format specifications....... so we wont
get c value...
but if we have given the format specifications and if we
dont give any argument to it... the garbage value will be
your o/p
printf("%d");
the o/p is :: some garbage values....
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do I copy files?
What are # preprocessor operator in c?
Which are low level languages?
What are the disadvantages of a shell structure?
Write a code to generate a series where the next element is the sum of last k terms.
Why does everyone say not to use scanf? What should I use instead?
plz let me know how to become a telecom protocol tester. thank you.
write a program to copy the string using switch case?
Is c weakly typed?
Explain what are global variables and explain how do you declare them?
What is the difference between Printf(..) and sprint(...) ?
What is the use of define in c?
I need testPalindrome and removeSpace
#include
How do I send escape sequences to control a terminal or other device?
Tell me when is a void pointer used?