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
Is there a way to compare two structure variables?
What is the difference between int main and void main?
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.
What is string function c?
What are the different types of data structures in c?
What is omp_num_threads?
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
What is adt in c programming?
In a byte, what is the maximum decimal number that you can accommodate?
What is the use of bitwise operator?
What do you know about the use of bit field?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
How are Structure passing and returning implemented by the complier?
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 “****”.
Can you please explain the difference between syntax vs logical error?