C Viva
C Viva
1.what is C language?
Ans:the C programming is a standardized programming language developed in 1970’s by
ken Thompson and dennis Ritchie for use on the UNIX operating system.
2.printf(“ “); for writes data to the standard output devices.
3) Expand ASCII ?
Ans: American standarad code for information interchange
4)What is binary number ?
Ans: The number which contains only 0 and 1 is called binary number.
5) Define 2”s complement ?
Ans: The given binary number is first covert the numbers 0 to1 and 1 to 0. And finally
add the 1 to the converted number. Then we will get the 2’s complement number.
(or)
64)What is a structure?
Structures in C defines the group of contiguous (adjacent) fields, such as records or
control blocks. A structure is a
collection of variables grouped together under a single name. It provides an elegant and
powerful way for
keeping related data together.