#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answers were Sorted based on User's Feedback
Answer / vinod kumar
warning: assignment makes integer from pointer without a cast
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / balakrishna
Non-Portable pointer assignment in function main
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / praveen
Error.Non-Portable pointer assignment in function main
Is This Answer Correct ? | 0 Yes | 0 No |
What is structure padding and packing in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Differentiate between ordinary variable and pointer in c.
What is far pointer in c?
What is the difference between NULL and NUL?
What is page thrashing?
Explain setjmp()?
Tell me with an example the self-referential structure?
Do you know the use of fflush() function?
no consistent academics. how to answer the question
What is the purpose of the statement: strcat (S2, S1)?
Explain the difference between structs and unions in c?