#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
What is the explanation for modular programming?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is difference between structure and union?
What is the meaning of ?
What are the complete rules for header file searching?
What are the functions to open and close file in c language?
What are global variables and explain how do you declare them?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Is that possible to add pointers to each other?
Can two or more operators such as and be combined in a single line of program code?
What is double pointer?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Write a Program to find whether the given number or string is palindrome.
What are structure members?
Why dont c comments nest?