int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / fwfwgq
It will give segmentation fault in linux
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
Write a factorial program using C.
What is optimization in c?
How do I read the arrow keys? What about function keys?
What is the difference between malloc() and calloc()?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Why c is procedure oriented?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Why is %d used in c?
which is an algorithm for sorting in a growing Lexicographic order
I came across some code that puts a (void) cast before each call to printf. Why?
What is #define in c?
How to get string length of given string in c?
Difference between Function to pointer and pointer to function
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?