Arrays and Strings in C

Flashcard
•
Computers
•
12th Grade - University
•
Hard
Quizizz 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
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
CS Final Exam--Java

Flashcard
•
11th Grade
48 questions
Adv Video Game Programming Fall 24 Exam

Flashcard
•
12th Grade
36 questions
Structures and union

Flashcard
•
University
44 questions
EOC Building and Interpreting Functions

Flashcard
•
11th Grade
46 questions
Core 1 Week 4

Flashcard
•
University
48 questions
Python 3 Review Part 1

Flashcard
•
9th - 12th Grade
50 questions
Types of Programming Languages - Flashcard

Flashcard
•
University
59 questions
Java syntax

Flashcard
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade