what will be the output off the following program?
#include<stdio.h>
int main()
{
int a;
a=015+0*71+5;
printf("%d,a");
return0;
}
Answer Posted / santhosh
c guys v havi an error on
printf("%d,a");
where the semicolon is ended after "a"...
so
printf("%d",a);
then the ans is 18.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is size of union in c?
what do you mean by inline function in C?
what is a constant pointer in C
What are the disadvantages of c language?
Why does notstrcat(string, "!");Work?
Explain how do you determine the length of a string value that was stored in a variable?
How do you use a pointer to a function?
What is the use of getchar() function?
What are all different types of pointers in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What is a substring in c?
What is the code for 3 questions and answer check in VisualBasic.Net?
In a switch statement, what will happen if a break statement is omitted?
What is the difference between typedef and #define?