C Programming Questions & Answers: part11



Software Programming : C Programming QUESTIONS AND ANSWERS :: part11 : 1 to 5

Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :

1.The parameters in a function definition are known as

Actual parameters
Arguments
Formal parameters
Dummy parameters
Optional parameters.

2.Identify the correct statement from the following statements.

typedef int Integer
typedef int Integer;
typedef int=Integer
typedef int=Integer;
typedef Integer int;.

3.Identify the wrong expression for the given integer array �a� as �int a[10];� [ In Turbo C compiler].

a[0]
a[-1]
a[10]
0[a]
++a;.

4.What is the output of the following code? void main() { int i=0; switch( i ){ case 0: i++; case 1: i+++2; case 2: ++i; }print( �%d�, i++ ); }

1
2
3
4
5.

5.The function used to position the file pointer in C is

fseekg()
seekg()
fileseek()
seekf()
fseek().

More C Programming QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
If your ship doesn’t come in, swim out to meet it!-Jonathan Winters