#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answer Posted / balakrishna
Non-Portable pointer assignment in function main
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain Function Pointer?
Explain the difference between malloc() and calloc() function?
What is declaration and definition in c?
How was c created?
Why is c so important?
Is c is a high level language?
How many keywords are there in c?
Do you know the use of 'auto' keyword?
What is logical error?
What is the auto keyword good for?
What are the advantages of the functions?
What is the explanation for the dangling pointer in c?
What is meant by recursion?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory