#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 what is the most efficient way to store flag values?
Why is c called c not d or e?
What is pointer to pointer in c?
How do you sort filenames in a directory?
What is pointer to pointer in c language?
Are the variables argc and argv are always local to main?
Explain the binary height balanced tree?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is the advantage of using #define to declare a constant?
What is strcmp in c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
Difference between pass by reference and pass by value?
What is difference between function overloading and operator overloading?
What is the difference between mpi and openmp?
What are the different types of endless loops?