Question: 15. Write statements to declare a char array called firstWord large enough to hold a 50 letter word and read a word from the keyboard

 15. Write statements to declare a char array called firstWord large

15. Write statements to declare a char array called firstWord large enough to hold a 50 letter word and read a word from the keyboard into it 16. Assume num is an integer. Write statements that will create a variable that can point to an int and address of num in the variable. 17. Decl are a char array named 1ine suitable for storing C-strings as large as 50 characters, and write a statement that reads in the next line from the keyboard into this array.(Assume no line of input is 50 or more characters. 18. Write an expression that evaluates to true if and only if the C-string s equals the C-string "end" 19. Write an expression that will concatenate C-string stri with C-string str2 20. Write an expression to access the last character of a string class object str 21. Write a statement to open a file and link it to a file stream object

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!