adspace


Explain #pragma statements.

Answer Posted / Ashish Khetal

"#pragma statement" is a non-standard preprocessing instruction used in C and C++ programming languages. It allows programmers to influence the behavior of the preprocessor, compiler, or other processing tools during compilation. The syntax is '#pragma <token>', where '<token>' is a specific string that provides instructions to the preprocessor. For example, "#pragma once" is often used to prevent multiple inclusions of the same header file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointers in c with example?

1166


How do you convert strings to numbers in C?

1341


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1612


write a c program to find the sum of five entered numbers using an array named number

2240


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1179


write a program to find out prime number using sieve case?

2171


What is the general form of a C program?

1096


What is dynamic dispatch in c++?

1135


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1295


Do you know the difference between malloc() and calloc() function?

1131


write a progrmm in c language take user interface generate table using for loop?

2122


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2513


What are compound statements?

1287


will u please send me the placement papers to my mail???????????????????

1923


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1356