What is the difference between typeof(foo) and myFoo.GetType()?
Answers were Sorted based on User's Feedback
Answer / enso
Operator typeof(foo) is used to obtain the System.Type
object for a type at compile time.
myFoo.GetType() is used to obtain the exact run time type of
an object. This method uses reflection.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / nidhi
Operator typeof(foo) is used to obtain the System.Type
object for a type at compile time.
myFoo.GetType() is used to obtain the exact run time type of
an object. This method uses reflection.
| Is This Answer Correct ? | 4 Yes | 0 No |
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
what is the need for main function in c?
write a addition of two no. program with out using printf,scanf,puts .
Explain which function in c can be used to append a string to another string?
Do array subscripts always start with zero?
Add Two Numbers Without Using the Addition Operator
What is the difference between typedef struct and struct?
Is c easy to learn?
what is the difference between declaration and definition of a variable or function ?
7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above
what is the difference between definition and declaration? give me some examples.
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC