![]() |
|
#1
|
||||
|
||||
|
What will be the range of numbers generated by function rand () % 9?
(a) 0 to 9 (b) 1 to 9 (c) 0 to 8 (d) 1 to 8 ------------------------- If the file is not properly closed in the program, the program ____________. (a) Terminate normally (b) Indicate Runtime error (c) Indicate Compile time error (d) Crashe --------------------------------- Which of the following is correct way to initialize a variable x of int type with value 10? (a) int x ; x = 10 ; (b) int x = 10 ; (c) int x, x = 10; (d) x = 10 ; -------------------------------- Which of the following function(s) is/are included in stdlib.h header file? (a) double atof(const char *nptr) (b) int atoi(const char *nptr) (c) char *strcpy ( char *s1, const char *s2) (d) 1 and 2 only ------------------------------- Which of the following is used with bit manipulation? (a) Signed integer (b) Un-signed integer (c) Signed double (d) Un-signed double ------------------------------------ The object _______________may be used both for file input and file output (a) fstream, (b) ifstream, (c) ofstream, (d) none of the given options. ----------------------------------- C is widely known as development language of _______ operating system. (a) Linux (b) Windows (c) Unix (d) Mac OS ----------------------------------- Operating system is a (a) System software (b) Application Software (c) Driver (d) Editor ----------------------------------- What is diffrent between pointer and variable. ----------------------------------- another paper Write a C/C++ program which defines an array of 10 elements. This program should ask a number from the user and search this number in the array if the number exists in the array, it should display the location of the number otherwise display the message The number is not in the given array. - what are function pointers - Diference between tellg() and tellp() - difference between random access file and sequence access file - why do u close a file> long Questions Code for the programme prints diognals elements of matrix n by n, n is any number. WRITE note on char strng. programme out put was asked. types of pointers and their uses. one dimentional and two dimentional aray par note. 1)Differentiate between Random access and Sequential access 5marks 2)Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0. 5marks |
|
#2
|
||||
|
||||
|
Thank you, great share!
|
|
#3
|
||||
|
||||
|
man this is very nice man thanck you so muchos muchas grasias
|
|
#4
|
||||
|
||||
|
thanks bro,,
|
![]() |
















Linear Mode

