Untold Coding
31.4K subscribers
177 photos
5 videos
4 files
227 links
|| जय श्री राम ||
#100dayschallenge
Sharing HTML, CSS and JS magic
Join our Creative Journey!🎉
Download Telegram
What is the output of this program?

#include <stdio.h>
int main() {
printf("%d", printf("ABCD"));
return 0;
}
👍13🤔10
#include <stdio.h>
int main() {
int i = -1;
for (++i; i++; i++)
printf("Untoldcoding");
return 0;
}
👍12🔥1
Consider the following C program:

#include <stdio.h>
int main( )
{
int i, j, k = 0;

j=2*3/4+2.0/5+8/5;

k -= --j;

for (i=0; i<5; i++)
{
switch(i+k)
{
case 1:

case 2: printf("\n%d", i+k);

case 3: printf("\n%d", i+k)

default: printf("\n%d", i+k);

}

}
return 0;
}
👍12
#include <stdio.h>

int main()

{
int i;
for(i=1; i<=10; i++){
if(i>5){
break;
}
}
printf("%d",i);

return 0;
}
👍141
Consider the C Programming

#include<stdio.h>

void print (int n) {
if (n <= 0) return;
print(n--);
printf ("%d", n);

}

int main() {
print(5);
return 0;

}
👍11
Question of the day


#include<stdio.h
#define square(x) x*x
int main() {
int a, b=3;
a = square (b+2);
printf("%d",a);
return 0;
}
👍131👏1
Question of the day


#include <stdio.h>

void count(int n) {
static int d = 1; // Initialize static variable
printf("%d ", n);
printf("%d ", d);
d++;

if (n > 1) {
count(n - 1);
}

printf("%d ", d);
}

void main() {
count(3);
}
👍101