You are not logged in.

#1 2015-09-14 05:44:39

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Code Fragment:

C Programming Quizzes C Language Operators And Expressions

Directions:
What will be the output of the following code fragment?

Question:
void main()
{
   printf("%x",-1<<4);
}

Option A):
fff1
Option B):
fff4
Option C):
fff0
Option D):
fff2

Correct Answer is Option C):
fff0


Failure is the first step towards seccess.

2015-09-14 05:44:39

Advertisement
Ads By Google

Re: Code Fragment:



\n

Board footer