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 / uma
printf("%d,a"); this gives an error like a value never
used..or if printf statement like printf("%d",a); then it
gives 18 as the answer because 015 is the octal number and
0*71 is 0.
so a=13+5
a=18;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between text files and binary files?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What are compound statements?
What is queue in c?
Explain zero based addressing.
Write a simple code fragment that will check if a number is positive or negative.
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Are pointers really faster than arrays?
What do you mean by Recursion Function?
Write a program which returns the first non repetitive character in the string?
Which is the memory area not included in C program? give the reason
if p is a string contained in a string?
Write a Program to find whether the given number or string is palindrome.
What are the preprocessor categories?
What is the translation phases used in c language?