int a=2,b=3,c=4;
printf("a=%d,b=%d\n",a,b,c);
what is the o/p?

Answer Posted / srinivas

a=2,b=3



(for "c" variable no conversion char is there so it prints
only a&b values)

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by realloc()?

872


Explain can you assign a different address to an array tag?

828


What is the value of c?

754


What is assert and when would I use it?

752


What is the use of sizeof () in c?

750


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1143


What is the use of a semicolon (;) at the end of every program statement?

1102


How pointers are declared?

714


What does typedef struct mean?

832


Is a pointer a kind of array?

800


How to compare array with pointer in c?

817


How many keywords are there in c?

799


When should the register modifier be used? Does it really help?

770


Explain what is the heap?

790


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

835