Nbnscoe Coding Club

Nbnscoe Coding Club This page is an initiative by N.B Navle Sinhgad college of engineering Solapur to spread awareness about coding and programming among students.

This page is for education purpose

22/10/2021
22/10/2021

What would be the output of the following programs:


void main( )
{
int i = 4, j = -1, k = 0, y, z ;
y = i + 5 && j + 1 || k + 2 ;
z = i + 5 || j + 1 && k + 2 ;
printf ( "\ny = %d z = %d", y, z ) ;
}

A): Error
B): y=1 z=1
C): y=1 z=-1
D): None of The above

22/10/2021



main( )
{
int i = 65 ;
char j = ‘A’ ;
if ( i == j )
printf ( “C is WOW” ) ;
else
printf( "C is a headache" ) ;
}

A) :C is a headache
B): C is WOW
C): Error

21/10/2021

The Coding Club is created to bring the students together to gain practical knowledge of programming languages.

Address

No. 38, G*t, 1 B, Solapur/Pune Highway, Kegaon
Solapur
413255

Website

Alerts

Be the first to know and let us send you an email when Nbnscoe Coding Club posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The School

Send a message to Nbnscoe Coding Club:

Shortcuts

Share

Category