C Programming, computer science homework help

User Generated

sbpxvr

Computer Science

Description


Question 1

  Which character is the NULL Terminator Character?

  '\n'

  '\0'

  '\1'

  ' '


Question 2

  What is the right include file to include when using the isupper library function?

  stdio.h

  string.h

  ctype.h

  chars.h


Question 3

  Which string library function is used to compare two strings to determine if they are equal?

  strlen

  strcmp

  strcpy

  strcat


Question 4

A string is a series of characters that ends with what character?

  blank

  tab

  new line

  null terminator


Question 5

To determine if two strings (string1 and string2) are equal, just say:  if (string1 == string2)

  True

  False


Question 6

What is the right file to include to work with C String Library Functions

  stdlib.h

  str.h

  stdio.h

  string.h


Question 7

  In C, each character is translated to what type so the computer can better understand the character

  value:

  real

  float

  int

  double


Question 8

  What letter is printed by:  printf ("%c \n", char_val = 'a' + 6);

  d

  e

  f

  g


Question 9

  A string is an array of what type?

  floats

  characters

  reals

  doubles



User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer


Anonymous
This is great! Exactly what I wanted.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags