what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.
Answers were Sorted based on User's Feedback
Answer / srsabariselvan
6
because it'll print the last garbage value stored.
| Is This Answer Correct ? | 3 Yes | 1 No |
main() { printf("hello%d",print("QUARK test?")); }
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What are the rules for identifiers in c?
If input is 123 then how to print 100 and 20 and 3 seperately?
what is the role you expect in software industry?
how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...
what is c language.
How do we make a global variable accessible across files? Explain the extern keyword?
what type of questions arrive in interview over c programming?
What is a wrapper function in c?
difference between i++* and *++i
how to find anagram without using string functions using only loops in c programming