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

Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

607


Which is the memory area not included in C program? give the reason

1510


How can you draw circles in C?

631


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

615


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

586






Why doesnt this code work?

620


Can we declare function inside main?

572


What is pre-emptive data structure and explain it with example?

3215


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

774


Explain logical errors? Compare with syntax errors.

633


The file stdio.h, what does it contain?

670


What is a program?

669


What are categories used for in c?

573


Difference between MAC vs. IP Addressing

644


What is identifier in c?

550