what is the output of the program??
#include<stdio.h>
main ( )
{
int a=010,sum=0,tracker:
for(tracker=0;tracker<=a;tracker++)
sum+=tracker;
printf(“ %d\n”,sum);
}
what is the difference between a=10 and a=010??
Answer Posted / xyz
near keyword int there is a colon so isnt tat a compling error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Difference between linking and loading?
What are extern variables in c?
Do pointers take up memory?
Explain the difference between malloc() and calloc() in c?
How can you draw circles in C?
Write the Program to reverse a string using pointers.
How are Structure passing and returning implemented by the complier?
Can the “if” function be used in comparing strings?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What do the functions atoi(), itoa() and gcvt() do?
How can I invoke another program or command and trap its output?
Explain what is gets() function?
What is a char in c?
Write a program for finding factorial of a number.
What is queue in c?