void main()
{
int i=5;
printf("%d",i+++++i);
}
Answers were Sorted based on User's Feedback
Answer / nishit
I think the answer should be 13.
as first the i value will be incremented as ++i = 6
then i++ =7
so answer will be 13.
I m not 100 percent sure ! please correct me.
| Is This Answer Correct ? | 2 Yes | 5 No |
void main() { int i=7; printf("N= %*d",i,i); }
How to convert hexadecimal to binary using c language..
1 Answers Bajaj, GAIL, Satyam, Zenqa,
what is the large sustained error signal that eventually cause the controller output to drive to its limit
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .
I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00
how tally is useful?
What are the different types of errors in C and when they occur?
write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;
#include<>stdio.h> #include<>conio.h> { printf("hello"); void main() getch(); } what the out put of this program and why ......plz clear my answer
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
errors are known as?
3 Answers EX, State Bank Of India SBI,
quoroum of computer languages?