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 c program in such a way that if we enter the today date the output should be next day's date.
How to write a code for reverse of string without using string functions?
How to Throw some light on the splay trees?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
How do you list a file’s date and time?
Explain Function Pointer?
why wipro wase
In which header file is the null macro defined?
How to delete a node from linked list w/o using collectons?
How do c compilers work?
How is null defined in c?
How can you increase the allowable number of simultaneously open files?
What is string function c?
When would you use a pointer to a function?
Which of these functions is safer to use : fgets(), gets()? Why?