#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


Please Help Members By Posting Answers For Below Questions

What is c language & why it is used?

776


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

927


How can you tell whether two strings are the same?

1038


What is sizeof in c?

765


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1840


What are structure types in C?

868


What is the acronym for ansi?

808


What is the correct declaration of main?

907


What is the scope of static variables in c language?

839


What is static volatile in c?

751


What happens if a header file is included twice?

798


Is c call by value?

806


What do you mean by Recursion Function?

865


How to write c functions that modify head pointer of a linked list?

740


Write a program to swap two numbers without using the third variable?

809