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
Is printf a keyword?
What is #error and use of it?
What is array of pointers to string?
What is an auto variable in c?
Why do we need a structure?
Can a function argument have default value?
Explain what are the different data types in c?
Explain how do you determine whether to use a stream function or a low-level function?
Can true be a variable name in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is operator promotion?
Is there any demerits of using pointer?
Is malloc memset faster than calloc?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.