find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}
Answer Posted / rajeesh
Six -6
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is an example of structure?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is break statement?
Can a void pointer point to a function?
What are the general description for loop statement and available loop types in c?
How to write a multi-statement macro?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
How can I automatically locate a programs configuration files in the same directory as the executable?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
How do you use a pointer to a function?
How can I pad a string to a known length?
Is c# a good language?
Why ca not I do something like this?
what is the structure pointer?