Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following statements are correct? A string is a collection of chara

ID: 3556472 • Letter: W

Question

Which of the following statements are correct? A string is a collection of characters terminated by '/0'. The format specifier %s is used to print a string. The length of the string can be obtained by strlen(). The pointer CANNOT work on string. 1,2 1,2,3 2,4 3,4 What will be the output of following program? # include int main () { float a = 5,b = 2; int c,d; c = a%d; d = a/2; printf("%d / n",d); return 0; } 3 2 Error None of above On which if the following operator can % operator NOT be used? Int variable float variable int constant All of above The two operators && and || are? Arithmetic operators equality operators logical operators relational operators None of above

Explanation / Answer

B

C

B

C

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote