giftglass.blogg.se

Macro definition in c
Macro definition in c






macro definition in c

Differentiate between the macros and the functions. What is the use of a semicolon ( ) at the end of every program statement?

#MACRO DEFINITION IN C HOW TO#

Can you tell me how to check whether a linked list is circular? C Program to find a sum of digits of a number using recursion. C program to check the given number format is in binary or not. Write a C program to check if it is a palindrome number or not using a recursive method. Write a program to get the higher and lower nibble of a byte without using shift operator? Can we compile a program without a main() function? How can you remove duplicates in an array? Is it possible to access a global variable from a block where local variables are defined? Suppose a global variable and local variable have the same name. Which structure is used to link the program and the operating system? What is a near pointer and a far pointer in C? What is the difference between ‘g’ and “g” in C? What are dangling pointers? How are dangling pointers different from memory leaks? What is the difference between #include "." and #include ?

macro definition in c

Why is it usually a bad idea to use gets()? Suggest a workaround. What is Dynamic memory allocation in C? Name the dynamic allocation functions. What is the difference between struct and union in C? What is the difference between malloc() and calloc()? Specify different types of decision control statements? When should we use the register storage specifier? What are the advantages of Macro over function? Difference between const char* p and char const* p? What is the difference between global int and static int declaration? Why doesn’t C support function overloading? How can a number be converted to a string? How can a string be converted to a number? What is the use of printf() and scanf() functions? Also explain format specifiers? Why is C called a mid-level programming language?








Macro definition in c