main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Answer Posted / sravan
s=10
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
What is fflush() function?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Explain the use of function toupper() with and example code?
What is the difference between near, far and huge pointers?
What is a node in c?
What is difference between structure and union in c?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
Is it better to use malloc() or calloc()?
code for find determinent of amatrix
difference between native and cross compilers
What library is sizeof in c?
What is a string?
What are formal parameters?
If I have a char * variable pointing to the name of a function ..
What is main () in c?