int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / sathish
output is 3
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is a nested loop?
Write a program to show the change in position of a cursor using c
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
explain how do you use macro?
What are the advantages of using Unions?
find the sum of two matrices and WAP for it.
Write a program on swapping (100, 50)
How can you find the day of the week given the date?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is the difference between array and pointer?
What is a null string in c?
What does s c mean in text?
Is it valid to address one element beyond the end of an array?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
what is the diffrenet bettwen HTTP and internet protocol