C Programming and Technical

Q. What is pascal and cdecl keyword in c language?

A. There are two types of parameters passing conventions in c:
1. pascal: In this style function name should (not necessary ) in the uppercase .First parameter of function call is passed to the first parameter of function definition and so on.
2. cdecl: In this style function name can be both in the upper case or lower case. First parameter of function call is passed to the last parameter of function definition. It is default parameter passing convention

Read Solution (Total 0)

C Other Question

Q. What is far pointer?

A. The pointer which can point or access whole the residence memory of RAM i.e. which can access all 16 segments is known as far pointer
Q. What is use of #pragma inline directive in c language?

A. #pragma inline only tells the compiler that source code of program contain inline assembly language code .In c we can write assembly language program with help of asm keyword.