Arrays and Strings in C
Flashcard
•
Computers
•
12th Grade - University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

56 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Array can be considered as set of elements stored in consecutive memory locations but having __________.
Back
Same data type
2.
FLASHCARD QUESTION
Front
What is the proper declaration for an array that has 2 rows and 3 columns?
Back
type arr[2][3];
3.
FLASHCARD QUESTION
Front
How can I store the value 10 into the second row, first column of my array that I have declared as int numbers[10][10]?
Back
numbers[1][0] = 10
4.
FLASHCARD QUESTION
Front
Back
1 2 3 4 5 0
5.
FLASHCARD QUESTION
Front
if two strings are identical then function strcmp() returns
Back
0
6.
FLASHCARD QUESTION
Front
What will be the output of the program?
#include <stdio.h>
#include<string.h>
void main()
{
char str1[20]="Hello",str2="world";
strcat(str1,str2);
puts(str1);
return 0;
}
Back
Helloworld
7.
FLASHCARD QUESTION
Front
What will be printed by the code: str1="6/4"; printf("str1");
Back
str1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
41 questions
Computer Science Concepts
Flashcard
•
University
41 questions
Câu lý thuyết KNHTDH
Flashcard
•
University
42 questions
Unit 4 Exam Review (Taxes)
Flashcard
•
9th - 12th Grade
40 questions
AASTHA's Flashcard
Flashcard
•
KG - University
58 questions
Film Writing Essentials
Flashcard
•
9th - 12th Grade
50 questions
CS2 Q50 Python Group 1
Flashcard
•
12th Grade - University
50 questions
MAD Flashcard 2 Practice Questions
Flashcard
•
University
54 questions
Unit 5 Lessons 1-5 (APCSP Code.org)
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade