#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


Please Help Members By Posting Answers For Below Questions

Explain what is the most efficient way to store flag values?

937


Why is c called c not d or e?

843


What is pointer to pointer in c?

857


How do you sort filenames in a directory?

952


What is pointer to pointer in c language?

803


Are the variables argc and argv are always local to main?

787


Explain the binary height balanced tree?

908


Using which language Test cases are added in .ptu file of RTRT unit testing???

4001


What is the advantage of using #define to declare a constant?

852


What is strcmp in c?

753


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?

2067


Difference between pass by reference and pass by value?

869


What is difference between function overloading and operator overloading?

866


What is the difference between mpi and openmp?

1000


What are the different types of endless loops?

835