#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
Write a program to show the change in position of a cursor using c
Explain what is dynamic data structure?
What is the difference between array_name and &array_name?
What is the use of volatile?
What are types of structure?
Is int a keyword in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are dangling pointers in c?
Why does the call char scanf work?
Is a house a shell structure?
Difference between linking and loading?
What is the difference between exit() and _exit() function in c?
Why array is used in c?
Explain what is wrong in this statement?
Why do we use static in c?