Which is true: #define is a preprocessor command often used to introduce named constants double and goto are keywords declaring types. return (0); is normally the last statement in main() The file stdio.h is where the compiler finds scanf().
Answers
Answered by
5
Answer:
: Compound Statement. A compound statement consists of none or more C++ statements enclosed within a set of braces: {}. It is an essential concept in C++ and is central to the idea of nesting constructs. For example, the if statement has the form:- if ( expression ) statement.
Answered by
2
The file stdio.h is where the compiler finds scanf().
Explanation:
- In C language, stdio.h contains pre-defined functions related to input and output.
- stdio.h is a header file.
- We can include this file using #include.
- The full form of stdio is Standard Input Output.
- It contains many input output functions, like
- printf()
- scanf()
- getc()
- putc()
- gets()
- puts()
- getw()
- putw() etc.
- So, scanf() is present in stdio.h.
- scanf() is an input function which is used to take input from the user.
Hence, the correct statement is, the file stdio.h is where the compiler finds scanf().
Similar questions
Environmental Sciences,
5 months ago
Hindi,
5 months ago
Hindi,
5 months ago
History,
10 months ago
Science,
10 months ago
Computer Science,
1 year ago