Quiz 7 (Improvement) And Assignment 4 - Bee-2a

10 Questions | Attempts: 64
Please wait...
Question 1 / 11
🏆 Rank #--
Score 0/100

1. The ___ used in printf( ) is a format specification for printing out a string

Submit
Please wait...
About This Quiz
Quiz 7 (Improvement) And Assignment 4 - Bee-2a - Quiz

Strings, Strings Pointers

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Strings in C are char array..

Submit

3. We can store both int and char data in a char two-dimensional array?

Submit

4.  char *str[1][2] = {"June", "6"}; printf("Month name is %s, which is %dth month of the year", ___ , ___ );What should be in the blanks to give the following outputMonth name is June, which is 6th month of the year

Submit

5. Gets() function is used to _____

Submit

6. Char str[10] = "A quick brown fox jumped over a lazy dog";puts(str);what will print?

Submit

7. Char str[20] = "hello bee2a";printf("%s", str);Output = hello bee2a

Submit

8. Char str1[10] "Hello!";int count1 = 0;    while(str1[count1] != '\0')        count1++;while loops will iterate until ______

Submit

9.  char *str[] = {"Hello Bee2A"}; *str = "Bye Bee2A"; puts(*str);Output = __________

Submit

10.  char *str[] = {"2014"}; int year = atoi(str[0]); printf("___", year);What should be the format specifier?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (10)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The ___ used in printf( ) is a format specification for printing out...
Strings in C are char array..
We can store both int and char data in a char two-dimensional array?
 char *str[1][2] = {"June",...
Gets() function is used to _____
Char str[10] = "A quick brown fox jumped over a lazy...
Char str[20] = "hello bee2a";printf("%s",...
Char str1[10] "Hello!";int count1 = 0;  ...
 char *str[] = {"Hello Bee2A"}; *str = "Bye...
 char *str[] = {"2014"}; int year =...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!