#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 / praveen
Error.Non-Portable pointer assignment in function main
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to set file pointer to beginning c?
In which layer of the network datastructure format change is done
How can I do peek and poke in c?
How do I swap bytes?
What is the benefit of using #define to declare a constant?
What is the difference between test design and test case design?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain how can I convert a number to a string?
Can you write the function prototype, definition and mention the other requirements.
What is keyword with example?
How many levels of indirection in pointers can you have in a single declaration?
What is formal argument?
What is the difference between null pointer and wild pointer?
Do you know what are bitwise shift operators in c programming?
Is exit(status) truly equivalent to returning the same status from main?