why programs in c are running with out #include<stdio.h>?
some warnings are display in terminal but we execute the program we get answer why?
eg:
main()
{
printf("hello world
");
}
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to find the biggest number of three numbers in c?
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
What is difference between static and global variable in c?
char p="data"; printf(p);
How to print %d in output
What does a pointer variable always consist of?
What is the use of in c?
who is first prime minister in india??
declare afunction pointer to int printf(char *)?
What is pointer to pointer in c with example?
Give a method to count the number of ones in a 32 bit number?
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!