Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
How to make name, gender, age, and phone number bu using #include <stdio.h>
c++
2 Stimmen
2 Antworten
31st Jan 2018, 8:29 AM
Muhammad Hamizan
Can anyone help me out with the difference between #include <stdio.h> and #include"stdio.h" ?
urgent
1 Stimme
2 Antworten
11th May 2019, 8:32 AM
Seema Tamang
#include <stdio.h> int main() { int x = 5; if (x<1); {printf("Hello");} }
help
0 Stimmen
2 Antworten
15th Dec 2019, 2:33 PM
Avantika Nagrale
#include <stdio.h> #define square(x) x*x int main() { int i=(28/square(4)); printf("%d",i); return 0; }
define
0 Stimmen
2 Antworten
1st Sep 2020, 10:42 AM
Rohit Ahuja
#include <stdio.h> int main() { printf("Color: %s, Number: %d, float: %5.2f \n", "red", 42, 3.14159);
input
output
0 Stimmen
4 Antworten
10th Mar 2020, 8:36 PM
sagor zia
Can I use printf for hello world by including #include <stdio.h> also?
c++
0 Stimmen
2 Antworten
24th Dec 2016, 3:59 AM
Ka Yip
#include <stdio.h> int main() { int a[5]={1,2,3,5,8}; int first,second =0; for(int i=0;i<=4;i++) { if (a[i]>first ) {
array
3 Stimmen
5 Antworten
14th Jul 2018, 5:07 AM
IShiva SHreya
#include <stdio.h> int main () { char s1[20]="java"; printf ("progming = %s",s1); printf ("\nprogming=%s",strrev(s1)); retur
include<stdio.h>int
ma
-1 Stimme
5 Antworten
10th May 2021, 3:35 AM
Deep patel
#include <stdio.h> int main() { int i,n; char a[100]; gets(a); n=strlen(a); for(i=0;i<=n;i++) { printf("%s",a[n-i]); }
c
0 Stimmen
2 Antworten
2nd Dec 2021, 2:10 PM
Karthik C
#include <stdio.h> int main() { int var1,var2; var1=10; var2=10; var2=2*(++var1+2) - 2*(--var1-2); printf("Var1=%d \n Var2=%
c
1 Stimme
1 Antwort
25th Mar 2019, 10:17 PM
Gab
#include <stdio.h> int call(int (*func)(int),int arg) { return func(arg); } int inc(int var) { return ++var;}
c
0 Stimmen
3 Antworten
16th May 2022, 4:26 AM
Ashutosh Kumar
What is %*c in scanf("%d%*c",t);? #include <stdio.h> int main(void) { int t; scanf("%d%*c", &t); printf("%d",t);
%*c
0 Stimmen
2 Antworten
9th Mar 2020, 11:14 PM
PGS ADI
#include <stdio.h> struct student{ char *c; }; int main() { struct student s[2]; printf("%ld",sizeof(s)); return 0; }
struct
0 Stimmen
5 Antworten
11th Sep 2020, 8:20 AM
Rohit Ahuja
What is the difference between #include <iostream> using namespace std; & #include <stdio.h>
c++
0 Stimmen
1 Antwort
1st May 2017, 6:07 AM
Daniel Brož
How can C give an output even if I delete #include <stdio.h> & return 0; & 'int'?
<stdio.h
c
delete
how
include
int
output
return
1 Stimme
3 Antworten
23rd Jul 2018, 12:43 PM
Parth Salat
#include <stdio.h> int main() { int i=3; if(!i) i++; i++; if(i==3) i+=2; i+=2; printf("%d",i); return 0; }
if
0 Stimmen
4 Antworten
21st Aug 2020, 9:15 AM
Rohit Ahuja
#include <stdio.h> int main() { int age; printf("enter your age"); scanf("%d"&,>=age); printf("you are eligible for voting"); if
y
0 Stimmen
3 Antworten
4th Nov 2022, 1:09 PM
Udit Singh
#include <stdio.h> int main() { char * s="a string"; char *p=s; while(*p++) printf ("%d",(int)(p-s)); return 0; }
c
0 Stimmen
1 Antwort
24th Dec 2019, 9:44 AM
Somvir Dhaka
#include <stdio.h> void main() { float x = 0.1; if (x == 0.1) printf("Sanfoundry"); else printf("Advanced C Classes"); }
c
c++
2 Stimmen
3 Antworten
16th May 2020, 12:56 AM
𝒱𝑒𝓃𝑜𝓂𝑜𝓊𝓈
#include <stdio.h> #include<conio.h> int main() { int x=30; int y=40; int sum=0; clrscr(); sum=x+y; printf ("%d",sum); ret
sum
0 Stimmen
2 Antworten
4th May 2019, 8:30 AM
Prerna Goyal
#include <stdio.h> int main() { char subject ; printf ("Enter your subject\n"); scanf ("%c", & subject ); switch (subject
case
switch
0 Stimmen
5 Antworten
11th Mar 2021, 7:47 AM
ƊЄƔ ƤƦƛƬƛƤ ƧƖƝƓʆ
#include <stdio.h> #include<conio.h> int main() { int a,b; printf("Enter two number"); scanf("%d%d, &a,&b"); printf("The value o
kapil
-4 Stimmen
4 Antworten
31st Oct 2020, 5:22 AM
kapil dahiya
#include <stdio.h> #define prod(i,j) i*j int main() { int x=3,y=4; printf(" %d \n",prod(x+1,y)); } output :7
c
define
preprocessor
0 Stimmen
2 Antworten
21st Nov 2019, 6:03 PM
mohamed Issati
#include <stdio.h> int main() { int a=4; printf ("the value of a is %d,a"); return 0; }
include
0 Stimmen
2 Antworten
8th Apr 2023, 6:17 AM
Suyash Agnihotri
#include <stdio.h> int main() { int x=4,y,z; y=--x; z=x--; printf("%d",x); return 0; } output value and why ??
c
p
programming
0 Stimmen
2 Antworten
17th Aug 2021, 4:42 PM
PARTHA SARATHI DAS
#include <stdio.h> struct customer { int phone_no; char name[80]; int balance; }; void accept(struct customer[], in
find
results
the
0 Stimmen
1 Antwort
5th Mar 2022, 6:43 AM
Letwin Rgwodzi
#include <stdio.h> int main() { char a[100]; gets(a); printf("You entered: %s", a); return 0; ?
input
output
0 Stimmen
1 Antwort
26th Jul 2019, 1:30 PM
Sugavanam S
#include <stdio.h> //function declaration int factorial(int num); int main() { int x = 5; printf("The factorial o
pleasehelp
0 Stimmen
2 Antworten
2nd May 2019, 6:57 AM
Rahul Jaiswal
#include <stdio.h> int main(){ int a; printf("enter any number =") ; scanf("%d", & a) ; if (a>0) printf ("%d is positive number
printf
1 Stimme
7 Antworten
12th Feb 2021, 2:35 AM
Ravi Pandey
Can you guys tell me what is the difference between header <iostream> and <stdio.h> ?
c++
0 Stimmen
2 Antworten
5th Mar 2016, 9:43 AM
NaMan GuPta
Why '\n" is used after hello world in given code?#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }
c
0 Stimmen
3 Antworten
18th Feb 2021, 8:54 AM
Chahit Bhardwaj
#include <stdio.h> int main() { int x=12 , y=15 , z=20; if(x>y<z) printf ("red"); else printf ("green"); return 0; }
c
language
0 Stimmen
5 Antworten
5th May 2021, 3:15 PM
Ritik Kumar
#include <stdio.h> int main() { char a = getchar(); printf("You entered: %c", a); return 0; }
input
output
0 Stimmen
1 Antwort
26th Mar 2019, 4:53 PM
hetvi Ashokbhai parikh
#include <stdio.h> int main() { int i=4,z=12; if ((i=5) | | (z>50)) printf ("yo\n"); else printf ("no\n"); return 0; }
answer
c
c++
output
reason
0 Stimmen
1 Antwort
10th Aug 2020, 6:39 AM
shubham singh
i know about #include <stdio.h> header file ,is we can replace with <iostream> header file with < stdio.h > ??
,is
<stdio.h>
about
can
file
header
i
include
know
we
0 Stimmen
4 Antworten
14th Jul 2018, 5:31 AM
BANDI SAGAR
#include <stdio.h> int main() { int x[5] = {20, 45, 16, 18, 22}; printf("The element is %d\n", x[5]); /* 32766 */
arrays
-2 Stimmen
3 Antworten
23rd Jan 2022, 4:35 AM
Diya Mehta
#include <stdio.h> #include<string.h> int main() { char a[60]; char b[60]; char c[]="is the friend of"; char d[]; printf ("The f
pleasehelp
0 Stimmen
2 Antworten
18th Feb 2022, 5:23 AM
Bong Rush Gaming YT
#include <stdio.h> void main() { int x = 1, z = 3; int y = x << 3; printf(" %d\n", y); }
arithmetic
c
0 Stimmen
3 Antworten
14th Jan 2021, 11:30 AM
yogesh
#include <stdio.h> int main() { int k,sum ; printf("number of terms in series = %d", k); scanf("%d",&k); sum = k*(k-1)/2; print
c
1 Stimme
2 Antworten
12th Aug 2019, 3:44 AM
Rahul Sikarwar
#include <stdio.h> int main() { int a, b; float salary = 56.23; char letter = 'Z'; a = 8; b = 34; int c
c
-2 Stimmen
5 Antworten
30th May 2021, 4:29 PM
Manash Anand
What is the output of this code? #include <stdio.h> int main() { do { printf("Hi"); } while(5,3,0); return 0; }
c
codecoach
codeplayground
-1 Stimme
1 Antwort
26th Oct 2020, 6:22 AM
Suman Kumar Dey
What header files to use while entering a string in sololearn code playground? I used <stdio.h> but it isn't taking input.
c++
0 Stimmen
3 Antworten
26th Sep 2017, 11:15 PM
Divyanshu
Please help! How do i write a code in c++ <stdio.h> to read two different inputs from a txt file and store them into arrays?
arrays
c++
file
input
to
0 Stimmen
1 Antwort
24th Apr 2018, 6:36 PM
Ahmed Alknany
i am getting error anyone can help
()
[10]
[2][15]={
{
#include
<stdio.h>
char
dictionary
int
main
0 Stimmen
5 Antworten
8th Apr 2020, 6:04 AM
AsentjaX👨🏾💻
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
< Vorherige
1
2
Weiter >
Heute heiß
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Game development
0 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes