#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
What is c language & why it is used?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
How can you tell whether two strings are the same?
What is sizeof in c?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What are structure types in C?
What is the acronym for ansi?
What is the correct declaration of main?
What is the scope of static variables in c language?
What is static volatile in c?
What happens if a header file is included twice?
Is c call by value?
What do you mean by Recursion Function?
How to write c functions that modify head pointer of a linked list?
Write a program to swap two numbers without using the third variable?