Advertisement Remove all ads

Select the Correct Option from Multiple Choice Question.Study the Following C Programvoid Main() {Int A=0;For( ;A;);A++; }What Will Be the Value of the Variable A, on the Execution of Above Program - Structured Programming Approach

MCQ

Select the correct option from multiple choice question.

Study the following C program
Void main() {
int a=0;
for( ;a;);
a++; }
what will be the value of the variable a, on the execution of above program

Options

  • 1

  • 0

  • -1

  • None of these

Advertisement Remove all ads

Solution

1

Concept: Variables in C - Programming
  Is there an error in this question or solution?
Advertisement Remove all ads

APPEARS IN

Advertisement Remove all ads
Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×