
Arrays e Manipulação de Strings em C

Quiz
•
Computers
•
12th Grade
•
Hard
BRUNA KWIATKOVSKI
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes opções declara corretamente um array de 10 inteiros em C?
int arr[10];
int arr;
int arr(10);
array int[10];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a forma correta de inicializar uma string com o valor "Hello" em C?
char str[] = "Hello";
string str = "Hello";
char str = "Hello";
char str[5] = 'Hello';
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dada a declaração de array int numbers[5] = {1, 2, 3, 4, 5};
, qual é o valor de numbers[2]
?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual função é usada para copiar uma string para outra em C?
strcpy()
strcat()
strcmp()
strrev()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte código? ```c char str[20] = "C Programming"; printf("%c", str[2]); ```
C
P
r
o
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você encontra o comprimento de uma string em C?
strlen()
length()
size()
count()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Level 1 - C

Quiz
•
12th Grade
10 questions
Conhecimentos prévios em Java

Quiz
•
10th - 12th Grade
9 questions
TEST D'INGRESSO_C

Quiz
•
10th - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
12 questions
C# Arrays

Quiz
•
9th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
8 questions
PYTHON

Quiz
•
12th Grade
10 questions
Arrays Javascript (CodeCademy)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade