Which of the following are valid "include" formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include "file.h"
D)#include <file.h> and #include "file.h"
Answer Posted / jj
ans-d.
1st one searches from current directory,
2nd one searches from list of directories specified in
inlcude path
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the difference between functions getch() and getche()?
What does the file stdio.h contain?
How do you define a string?
What is a protocol in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
Can you please explain the difference between malloc() and calloc() function?
Give the rules for variable declaration?
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
What is the purpose of 'register' keyword?
What is the use of header files?
What are actual arguments?
What are the different file extensions involved when programming in C?
What are header files and what are its uses in C programming?
What is use of null pointer in c?
What is the use of ?: Operator?