#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 indirection?
What is an identifier?
What are the different flags in C? And how they are useful? And give example for each in different consequences?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What are the features of c languages?
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
What is main void in c?
is it possible to change the default calling convention in c ?
What is || operator and how does it function in a program?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Is c still relevant?
How can you find the exact size of a data type in c?