#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answers were Sorted based on User's Feedback
Answer / vinod kumar
warning: assignment makes integer from pointer without a cast
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / balakrishna
Non-Portable pointer assignment in function main
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / praveen
Error.Non-Portable pointer assignment in function main
Is This Answer Correct ? | 0 Yes | 0 No |
Determine if a number is a power of 2 at O(1).
Are enumerations really portable?
How the C program can be compiled?
How can I invoke another program or command and trap its output?
no consistent academics. how to answer the question
What is pointer to pointer in c?
What is || operator and how does it function in a program?
What is meant by operator precedence?
what are the compilation steps? ( i want inside the compiler )
What is volatile c?
What are the three constants used in c?
Write a program to add a given duration with time(24hrs format)