#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

Write a program to show the change in position of a cursor using c

842


Explain what is dynamic data structure?

907


What is the difference between array_name and &array_name?

1008


What is the use of volatile?

848


What are types of structure?

851


Is int a keyword in c?

747


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1078


What are dangling pointers in c?

851


Why does the call char scanf work?

901


Is a house a shell structure?

919


Difference between linking and loading?

911


What is the difference between exit() and _exit() function in c?

852


Why array is used in c?

792


Explain what is wrong in this statement?

861


Why do we use static in c?

852