To create random numbers between 28 and 52 inclusive, use the formula
int number - 28 = rand()%52;
int value = 1+rand()% 28;
int random- value=28+rand()%24;
int rand-num=28+rand(0%25);
Strcmp() is for .
Converts string
Compares two strings
Change into lowercase
Change into uppercase
Name the header file, to which the function strcpy() belongs to:
iomanip.h
conio.h
string.h
math.h
To find whether two strings are equal or not. Determine the function.
isdigit()
strcmp()
Strcat()
strcpy()
Which of the following code will ensure that a different random sequence will occur with each run of the program in the visual C++ programming language?
int number = 2+rand()%5;
randmize();
randomize(timer);
srand (time(NULL));
What converts its arguments to uppercase letter if its argument is a letter
isupper
islower
toupper()
tolover()
Name the header file that includes log()
Math.h
ctype.h
log.h
iostream.h
The purpose of the code answer = toupper(ans); is to ensure that,
Answer will be rounded to the next larger integer
The first letter in answer will be a capital letter
Answer will contain all capital letters
Answer will contain no numeric values
When using a built in function, you must
Include the function's prototype
Include the proper header file
Include the function's definition
Specify the length of the library function