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
When is the “void” keyword used in a function?
What is a header file?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is the difference between arrays and pointers?
What is c value paradox explain?
What will be the outcome of the following conditional statement if the value of variable s is 10?
When the macros gets expanded?
Write a program to find factorial of a number using recursive function.
Differentiate between the = symbol and == symbol?
What are c identifiers?
Do you know the difference between malloc() and calloc() function?
What is new line escape sequence?
What is structure in c language?
What are the benefits of organizational structure?
What are the header files used in c language?