#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
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Is main is a keyword in c?
What is ponter?
What are dangling pointers in c?
Why array is used in c?
Are local variables initialized to zero by default in c?
What is n in c?
Which is better oop or procedural?
What is the c value paradox and how is it explained?
What is the significance of c program algorithms?
What is structure in c definition?
What is the benefit of using const for declaring constants?
write a progrmm in c language take user interface generate table using for loop?
What is a wrapper function in c?
Write a simple code fragment that will check if a number is positive or negative.