Go to IBPS EXPERT

C Programming Questions Answers - Chapter 1

C Programming Questions Answers - Chapter 1 includes basic and important questions on C Programming Language which are important for IBPS IT Officer Aptitude exam, Campus Placements and other technical interviews and exams.

1) Wild pointer i

  • 1) if pointer is pointing to a memory location from where variable has been deleted
  • 2) if pointer has not been initialized
  • 3) if pointer has not defined properly
  • 4) if pointer pointing to more than one variable
View Answer View Explanation
Ans.   B
Explanation :

2) Disadvantage of array in C

  • 1) We can easily access each element
  • 2) It is necessary to declare too many variables
  • 3) It can store only one similar type of data
  • 4) None of above
View Answer View Explanation
Ans.   C
Explanation :

3) What is prototype of a function i

  • 1) It is the return type of a function
  • 2) It is the return data of the function
  • 3) It is declaration of a function
  • 4) It is a datatype
View Answer View Explanation
Ans.   C
Explanation :

4) Any type of modification on the parameter inside the function will reflect in actual variable value can be related

  • 1) call by value
  • 2) call by reference
  • 3) both of above
  • 4) none of above
View Answer View Explanation
Ans.   B
Explanation :

5) Size of void pointer

  • 1) 1 byte
  • 2) 2 byte
  • 3) 4 byte
  • 4) 8 byte
View Answer View Explanation
Ans.   B
Explanation :

6) We can insert pre written code in a C program by usi

  • 1) #read
  • 2) #get
  • 3) #include
  • 4) #put
View Answer View Explanation
Ans.   C
Explanation :

7) The first expression in a for loop

  • 1) Step value of loop
  • 2) Value of the counter variable
  • 3) Any of above
  • 4) None of above
View Answer View Explanation
Ans.   B
Explanation :

8) Break statement is used f

  • 1) Quit a program
  • 2) Quit the current iteration
  • 3) Both of above
  • 4) None of above
View Answer View Explanation
Ans.   B
Explanation :

9) Continue statement used f

  • 1) To continue to the next line of code
  • 2) To stop the current iteration and begin the next iteration from the beginning
  • 3) To handle run time error
  • 4) None of above
View Answer View Explanation
Ans.   B
Explanation :

10) What will be output of #include void main() { char test =`S`; printf('\n%c',test);

  • 1) S
  • 2) Error
  • 3) Garbage value
  • 4) None of above
View Answer View Explanation
Ans.   A
Explanation :
Get Free Current Affairs and Govt Jobs Alerts in your mailbox
Current Affairs
Govt Jobs

Testing