Arrays e Manipulação de Strings em C

Arrays e Manipulação de Strings em C

12th Grade

10 Qs

quiz-placeholder

Similar activities

Basics of spreadsheet

Basics of spreadsheet

12th Grade

15 Qs

Tin 12 - Bài 1 - Củng cố

Tin 12 - Bài 1 - Củng cố

12th Grade

10 Qs

Spreadsheet1

Spreadsheet1

12th Grade

10 Qs

Urządzenia światłowodowe

Urządzenia światłowodowe

12th Grade

11 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

SHORTCUT PADA KEYBOARD

SHORTCUT PADA KEYBOARD

10th - 12th Grade

10 Qs

BÀI 1. LỚP 7

BÀI 1. LỚP 7

11th Grade - University

10 Qs

PHẦN CỨNG 2 ( LỚP 3.2)

PHẦN CỨNG 2 ( LỚP 3.2)

1st Grade - University

10 Qs

Arrays e Manipulação de Strings em C

Arrays e Manipulação de Strings em C

Assessment

Quiz

Computers

12th Grade

Medium

Created by

BRUNA KWIATKOVSKI

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?