Answer Posted / abhishek verma
1.Static function can access only static data member.
2.Only class name and scop revolution '::'is requered to
call the static fuction.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the explanation for prototype function in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
If errno contains a nonzero number, is there an error?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
How can you allocate arrays or structures bigger than 64K?
What are the 5 data types?
What are the types of type specifiers?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
I need testPalindrome and removeSpace
#include
What is a structural principle?
How do you use a pointer to a function?
Is that possible to add pointers to each other?
What is omp_num_threads?
What are the various types of control structures in programming?