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
program for reversing a selected line word by word when multiple lines are given without using strrev
Is c is a procedural language?
What does. int *x[](); means ?
Explain the difference between strcpy() and memcpy() function?
Why c language?
What is enumerated data type in c?
What's the total generic pointer type?
What is the use of getch ()?
Explain what is the difference between far and near ?
Is null equal to 0 in sql?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Is struct oop?
How can I write a function that takes a format string and a variable number of arguments?
What is operator promotion?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1