Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Which of the following statements can declare a function prototype correctly? A. int sum(a[],a_size); B. int sum(int a[], int a_size); C. sum(int [], int);
1. Which of the following statements can declare a function prototype correctly?
A. int sum(a[],a_size);
B. int sum(int a[], int a_size);
C. sum(int [], int);
D. sum(a, a_size);
2. Which of the following statements is NOT correct?
A. The modulus or remainder (%) operator is only used with int values.
B. The logical operators (!, &&, ||) can be used to combine multiple Boolean expressions.
C. 22 / 4 yields 5.5.
D. int x = 5; (x > 0 && x < 10) yields TRUE.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started