int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?

Answer Posted / jignesh patel

output of this program is 3

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to compare two structure variables?

619


What is the difference between int main and void main?

580


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2230


What is string function c?

573


What are the different types of data structures in c?

610






What is omp_num_threads?

587


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1466


What is adt in c programming?

615


In a byte, what is the maximum decimal number that you can accommodate?

630


What is the use of bitwise operator?

694


What do you know about the use of bit field?

614


How can I rethow can I return a sequence of random numbers which dont repeat at all?

710


How are Structure passing and returning implemented by the complier?

719


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2653


Can you please explain the difference between syntax vs logical error?

699