main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Answer Posted / codingfreak
In the above question for
printf("%d",&s);
It prints the address location of variable s
printf("%d",s);
Prints the value 36.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is 1f in c?
Why c language?
What does %p mean c?
Differentiate between #include<...> and #include '...'
When is a null pointer used?
What is difference between function overloading and operator overloading?
What is a static variable in c?
What is && in c programming?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Can the “if” function be used in comparing strings?
Explain about the constants which help in debugging?
Explain the use of keyword 'register' with respect to variables.
in iso what are the common technological language?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
How do you use a pointer to a function?