what would be the output of the following program?
main()
{
int k = 123;
char *ptr;
ptr = &k;
printf("%d",*ptr);
}
Answer Posted / ankush
i also have a compilation error.....
""Cannot convert 'int_ss*' to 'char*' in function main()""
why its so....???
i want some answer.....
is my compiler wrong....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you write a programmer for FACTORIAL using recursion?
What is cohesion and coupling in c?
Why c is called top down?
What is pre-emptive data structure and explain it with example?
What is double pointer in c?
What is the function of volatile in c language?
What is sorting in c plus plus?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How many header files are in c?
What is dynamic memory allocation?
what will be the output for the following main() { printf("hi" "hello"); }
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
write a program for the normal snake games find in most of the mobiles.
What are all different types of pointers in c?
Which driver is a pure java driver