#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 / manish122

Error:- Non Portable Pointer Conversion.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

908


Explain the use of 'auto' keyword in c programming?

931


What is linear search?

949


Explain #pragma statements.

837


In a header file whether functions are declared or defined?

925


What do you mean by dynamic memory allocation in c?

884


write a program to rearrange the array such way that all even elements should come first and next come odd

2066


What is LINKED LIST? How can you access the last element in a linked list?

868


Can we add pointers together?

855


Does c have function or method?

829


What are bitwise shift operators in c programming?

872


How do we print only part of a string in c?

844


How we can insert comments in a c program?

891


Explain union. What are its advantages?

855


What is the scope of global variable in c?

787