#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 |
What is the advantage of an array over individual variables?
Is calloc better than malloc?
Explain what a Binary Search Tree is.
what are bps & baud rates? differentiate these two?
What are header files in c programming?
What are the different types of constants?
what are the compilation steps? ( i want inside the compiler )
The variables are int sum=10,SuM=20; these are same or different?
What is a rvalue?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
If input is 123 then how to print 100 and 20 and 3 seperately?
What is getch c?