#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 a rvalue?

971


What is the sizeof () operator?

813


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2132


When should the volatile modifier be used?

910


What is a example of a variable?

784


Explain a file operation in C with an example.

910


What is the difference between if else and switchstatement

1592


What is c standard library?

932


What is #define size in c?

874


How do shell structures work?

813


What does static variable mean in c?

880


to find the closest pair

2084


Can an array be an Ivalue?

889


What is s in c?

853


Explain indirection?

887