int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / khaja
output is 3
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What does the function toupper() do?
Write a simple code fragment that will check if a number is positive or negative.
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is c language used for?
Explain how do you list a file’s date and time?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What do you mean by a sequential access file?
What is function prototype in c language?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What are the advantages and disadvantages of a heap?
How to establish connection with oracle database software from c language?
Explain what is wrong with this statement? Myname = ?robin?;