#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 / vinod kumar
warning: assignment makes integer from pointer without a cast
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Why do we use stdio h and conio h?
What are near, far and huge pointers?
Explain what will the preprocessor do for a program?
Differentiate between the expression “++a” and “a++”?
How variables are declared in c?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Who developed c language?
Explain what is a pragma?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Explain how does free() know explain how much memory to release?
Why is c fast?
What are shell structures used for?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What are multidimensional arrays?
How can I remove the trailing spaces from a string?