-
-
-
}
">Vi) main(){ extern int i; i=20;printf("%d",i);}
Linker Error : Undefined symbol '_i'Explanation: extern storage class in the following declaration, extern int i;specifies to the compiler that the memory for i is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name i is available in any other program with...
-
-
-
-
How reliable are floating-point comparisons?
Floating-point numbers are the “black art” of computer programming. One reason why this is so is that there is no optimal way to represent an arbitrary number. The Institute of Electrical and Electronic Engineers (IEEE) has developed a standard for the representation of floating-point numbers, but you cannot guarantee that every machine you use will conform to the standard. Even if your machine does...
-
C Structures
Is structure a value type or a reference type? why?
-
-
-
String Storing
How we can store more than 128chars in char-variable.
-
Based on type conversion
Main(){ printf("%d",(2.5*2.5));}above gives output of 0 plss explain
-
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object,. calling of that virtual method will result in which method being called?
-
What is the output ?
Main(){printf("""ramabrahmam"");}
-
C/C++ Error Codes
what are the different types of errors observed in C and classify them as compile time or run-time errors.
-
-
-
Fflush() argument in ANSI C
Identify the correct argument for the function call fflush() in ANSI C:A)stdoutB)stdinC)stderrD)All the above
-
-
Diffence arrays and pointers?
Ø Pointers are used to manipulate data using the address. Pointers use * operator to access the data pointed to by themØ Arrays use subscripted variables to access and manipulate data.Array variables can be equivalently written using pointer expression.
C Interview Questions
Ans