Arrays and Strings in C

Flashcard
•
Computers
•
12th Grade - University
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Conceptos de Programación y Manejo de Cadenas

Flashcard
•
University
51 questions
Programming Terminology Flashcards

Flashcard
•
KG
48 questions
Understanding Objects in Software

Flashcard
•
University
55 questions
hahahaahahahhahaha

Flashcard
•
KG
52 questions
Programming II - Python Basics

Flashcard
•
University
42 questions
Final F2024 Review

Flashcard
•
University
49 questions
CS172 Final Exam York College

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University