What will be printed for the following C program?

#include

int main()

{

    int a=100,b=30;

    if(a<25)

  {

     a=a-50;

   }

      else

         {

              b=b+50;

         }

   printf("a=%d, b=%d", a, b);

}

return 0;

1
a=100, b=80
2
a=100, b=30
3
a=50, b=30
4
a=50, b=80

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation