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
What does %c do in c?
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 are enumerated types?
Are the variables argc and argv are always local to main?
What are the 32 keywords in c?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is the difference between functions getch() and getche()?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What are variables c?
Why does this code crash?
Describe dynamic data structure in c programming language?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Explain what is the benefit of using const for declaring constants?
What is the use of pragma in embedded c?
What is the scope of an external variable in c?