Answer Posted / deepak saini
class is the collection of data and functions(methods)
which are used to collect that data.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does the characters “r” and “w” mean when writing programs that will make use of files?
Describe how arrays can be passed to a user defined function
How can you find out how much memory is available?
What is variable declaration and definition in c?
What is the use of header files?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
Are pointers integer?
Can the “if” function be used in comparing strings?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What are the scope of static variables?
Explain how to reverse singly link list.
Are there constructors in c?
Can we use visual studio for c?
Why is not a pointer null after calling free?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.