what is use#in c
Answers were Sorted based on User's Feedback
# is preprocessor which tell compiler that what header
file we using in our program.
for example:
#include<stdio.h>
void main()
in the above when compiler check program it start execution
of program from main and will tell that uor header file
is "standard input output header file"
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / saurabh chakrabarty
# is used in c to write preprocessor statements (i.e. macros)
these statements are called preprocessor statements as these
statements are processed prior to the compilation of the
rest of the code by the compiler
Is This Answer Correct ? | 1 Yes | 0 No |
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
Define function pointers?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is LINKED LIST? How can you access the last element in a linked list?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
What are the different types of errors?
What is hash table in c?
Explain modulus operator.
write a program to arrange the contents of a 1D array in ascending order
Can i use Two or More Main Funtion in any C program.?
write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
How can you invoke another program from within a C program?