Basic C online Test

1. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?


2.What are the types of linkages?


3.Which of the following special symbol allowed in a variable name?


4.By default a real number is treated as a


5.Is the following statement a declaration or definition?

extern int i;


6.Which of the following cannot be checked in a switch-case statement?


7.What is (void*)0?


8.In which header file is the NULL macro defined?


9.If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?


10.What would be the equivalent pointer expression for referring the array element a[i][j][k][l]





























Description:

C programming language provides several operators to perform different kind to operations. There are operators for assignment, arithmetic functions, logical functions and many more. These operators generally work on many types of variables or constants, though some are restricted to work on certain types. Most operators are binary, meaning they take two operands. A few are unary and only take one operand.

Comments
nik
By: nik
250 days 13 hours 35 minutes ago

pls write your options clearly for better understanding.

dinesh
By: dinesh
238 days 12 hours 25 minutes ago

fine

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
2 Followers
Test: 1

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect