#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 / vinod kumar

warning: assignment makes integer from pointer without a cast

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2405


What are the types of assignment statements?

624


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

667


What's a good way to check for "close enough" floating-point equality?

619


find the sum of two matrices and WAP for it.

626






What is the difference between malloc() and calloc()?

612


Why doesnt this code work?

611


How does selection sort work in c?

617


How to write a multi-statement macro?

616


Explain built-in function?

585


Which header file is essential for using strcmp function?

932


Can a pointer be null?

558


What is the advantage of a random access file?

637


What does volatile do?

561


Is c object oriented?

535