Adblocker Detected
Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.
Learn and practice your skills with our MCQ question answers to improve your knowledge. MCQs list
Start Practice with MCQsQuizack 10 minutes test will assess your knowledge and give you comprehensive results along feedback.
Start QuizDownload Free C Programming MCQ questions answers PDF to practice and learn while are offline.
Download PDF
Used by 100s of Jobseekers and students
Focused questions for skill assessment
Premium questions with correct answers
Read the following two declaration statements.
1. #include
2. #include "stdio.h"
Which of the following statements pertaining to the above two
statements are correct?
For statement 1, the header file will be searched first in the local directory and then in the standard system directories such as "/usr/include"
For statement 1, the header file will be searched in the standard system directories such as "/usr/include"
For statement 2, the header file will be searched first in the local directory and then in the standard system directories such as "/usr/include"
For statement 2, the header file will be searched in the standard system directories such as "/usr/include"
None of the above
Answer:
For statement 1, the header file will be searched in the
standard system directories such as "/usr/include"
For statement 2, the header file will be searched first in
the local directory and then in the standard system
directories such as "/usr/include"
Note: This question has more than 1 correct answers
Point out the error in the following program(if it is compiled with Turbo C compiler)? #include<stdio.h> int main() { display(); return 0; } void display() { printf("Upwork.com"); }
No Error
display() does not get invoked
display() is called before it is defined
None of the above
Answer:
display() is called before it is defined