Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.


Please wait...

C Programming :: Basic Concepts

Home > C Programming > Basic Concepts > General Questions

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

Answer: Option D

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

54. In C language, a hexadecimal number is represented by writing

Answer: Option B

Explanation:

Hexadecimal numbers in C are represented by 0x or 0X.

For example: the value in Hexadecimal can be written as 0x64, which is equivalent to 100 in decimal.

Hence, the correct option is C.

Workspace


Tags:  No Tags on this question yet!

55. In which of the cases, the content inside if statement will not execute

Answer: Option A

Explanation:

Option A and C will execute as both -100 and 23.45 are not equal to 0, so the test condition becomes True, hence the contect inside if statement will execute.

Whereas, option B will not execute as 0 not equal to 0 is False, so the content inside if statement won't execute.

Therefore, correct option is B 

Workspace


Tags:  Wipro

56. In an absolute loading scheme, which loader function is accomplished by assembler

Answer: Option D

Explanation:

Here is no explanation for this answer

Workspace


Tags:  Wipro

Answer: Option C

Explanation:

The size for long int depends on the compiler. For a 32-bit model, the size is 4 bytes, whereas for a 64-bit model the size is 8 bytes

Hence, the correct option is C.

Workspace


Tags:  Cisco

58. main()
{
int a;
printf("%d",scanf(%d,&a));
}
What will be the output of the above program.

Answer: Option A

Explanation:

Incorrect answer



Answer is : 1



scanf returns the number of inputs scanned

Workspace


Tags:  Cisco

59. In the command scanf, h is used for

Answer: Option A

Explanation:

Here is no explanation for this answer

Workspace


Tags:  Cisco

60. What is the precedence order from high to low ,of the symbols ( ) ++ /

Answer: Option B

Explanation:

Option B is correct. () has the highest priority, then comes ++, followed by /.

For more clarity about the precedence and associativity of various operators used in C, you can refer the table below-

CategoryOperatorAssociativity
Postfix() [] -> . ++ - -Left to right
Unary+ - ! ~ ++ - - (type)* & sizeofRight to left
Multiplicative* / %Left to right
Additive+ -Left to right
Shift<< >>Left to right
Relational< <= > >=Left to right
Equality== !=Left to right
Bitwise AND&Left to right
Bitwise XOR^Left to right
Bitwise OR|Left to right
Logical AND&&Left to right
Logical OR||Left to right
Conditional?:Right to left
Assignment= += -= *= /= %=>>= <<= &= ^= |=Right to left
Comma,Left to right

Workspace


Tags:  Cisco



Most Popular Qs.

Latest MCQ Qs.