1) C as a mother language
All data has type but may be implicitly converted. Basic form of modularity, as files may be separately compiled and linked Control of function and object visibility to other files via extern and static attributes. Share this:. Related Terms. Related Articles. What is the difference between a mobile OS and a computer OS? What is the difference between alpha testing and beta testing? How is application software different from system software? More of your questions answered by our Experts.
Related Tags. Latest Articles. Ans The mistakes when creating a program called syntax errors. Q 4 What is the process to create increment and decrement stamen in C? Ans There are two possible methods to perform this task. Q 5 What are reserved words with a programming language? Ans The words that are part of the slandered C language library are called reserved words.
- Seeds of Silence (Books in Translation)?
- Handbook of Biologically Active Peptides;
- Exercise Book for Understanding English Grammar.
- Lennon Revealed!
- C Basic Syntax.
- 64 Lessons for a Life Without Limits;
- Related articles:.
Those reserved words have special meaning and it is not possible to use them for any activity other than its intended functionality. Q 6 What is the explanation for the dangling pointer in C? Ans When there is a pointer with pointing to a memory address of any variable, but after some time the variable was deleted from the memory location while keeping the pointer pointing to that location.
Q 7 Describe static function with its usage? Ans A function, which has a function definition prefixed with a static keyword is defined as a static function. The static function should call within the same source code. Q 8 What is the difference between abs and fabs functions? Ans Both functions are to retrieve absolute value. Ans Uninitialized pointers in the C code are known as Wild Pointers.
These are a point to some arbitrary memory location and can cause bad program behavior or program crash. Q 12 What is the explanation for prototype function in C? Prototype function is a declaration of a function with the following information to the compiler. In this example Name of the function is Sum, the return type is integer data type and it accepts two integer parameters.
Q 13 What is the explanation for cyclic nature of data types in C?
Ans Some of the data types in C have special characteristic nature when a developer assign value beyond the range of the data type. There will be no any compiler error and the value change according to a cyclic order. This is called as cyclic nature and Char, int, long int data types have this property. Further float, double and long double data types do not have this property.
Q 14 Describe the header file and its usage in C programming?
Understanding the C Language Skeleton
Ans The file contains the definitions and prototypes of the functions being used in the program are called a header file. It is also known as a library file. Example— The header file contains commands like printf and scanf is the stdio. Q 15 There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging.
How this affect when debugging? Ans This concept called as commenting out and is the way to isolate some part of the code which scans possible reason for the error. Also, this concept helps to save time because if the code is not the reason for the issue it can simply uncomment.
Q 16 What are the general description for loop statement and available loop types in C?
Learn C Programming Tutorial in easy way
Ans A statement that allows executing statement or group of statements in repeated way is defined as a loop. Following diagram explains. Ans A loop running within another loop is referred as a nested loop.
- C programming solved programs/examples with solutions - C source Codes.
- C (programming language) - Wikipedia.
- The Definitive Guide to Jython: Python for the Java Platform?
The first loop is called Outer loop and inside the loop is called Inner loop. Inner loop executes the number of times define an outer loop. Q 18 What is the general form of function in C? Q 19 What is a pointer on a pointer in C programming language? Ans A pointer variable that contains the address of another pointer variable is called pointer on a pointer.
Why the C Programming Language Still Runs the World | Toptal
This concept de-refers twice to point to the data held by a pointer variable. Ans The purpose of the Break keyword is to bring the control out of the code block which is executing. It can appear only in Looping or switch statements. If not found then in the built in the include path. Ans In general programs store data into files and retrieve existing data from files. With the sequential access file such data saved in a sequential pattern.
When retrieving data from such files each data need to read one by one until required information find.
- Socrates: A Man for Our Times.
- The Basics of C Programming?
- Navigation menu!
- Extended Abstracts Fall 2012: Automorphisms of Free Groups.
Q 23 What is the method to save data in stack data structure type? Only top of the stack is accessible at a given instance. Q 24 What is the significance of C program algorithms?