#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
What are the different types of control structures?
Is void a keyword in c?
How does pointer work in c?
Can we declare variable anywhere in c?
What is a header file?
How can I change their mode to binary?
Difference between goto, long jmp() and setjmp()?
What is spaghetti programming?
For what purpose null pointer used?
What are the restrictions of a modulus operator?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What is volatile keyword in c?
Why doesn't C support function overloading?
Why do we write return 0 in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?