Menu
Home
Create New Paste
Archive
Contact
Sign In
Sign Up
×
Sign in
×
Sign in using social network
Facebook
Google
Sign in with your username
Username
Password
×
Sign up
×
Sign up using social network
Facebook
Google
Sign up with your email address
Username
Email
Full Name
Password
The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
C file
By Guest on 24th January 2025 05:15:36 AM | Syntax: C | Views: 1
New paste
|
Download
|
Show/Hide line no.
|
Copy text to clipboard
#include <stdio.h>
int
main
(
)
{
char
ch
=
'A'
;
char
str
[
20
]
=
"Computer"
;
float
flt
=
10.234
;
int
no
=
150
;
double
dbl
=
20.123456
;
printf
(
"Character is %c
\n
"
,
ch
)
;
printf
(
"String is %s
\n
"
,
str
)
;
printf
(
"Float value is %f
\n
"
,
flt
)
;
printf
(
"Integer value is %d
\n
"
,
no
)
;
printf
(
"Double value is %lf
\n
"
,
dbl
)
;
printf
(
"Octal value is %o
\n
"
,
no
)
;
printf
(
"Hexadecimal value is %x
\n
"
,
no
)
;
return
0
;
}
Raw Paste:
#include
int main() { char ch = 'A'; char str[20] = "Computer"; float flt = 10.234; int no = 150; double dbl = 20.123456; printf("Character is %c \n", ch); printf("String is %s \n" , str); printf("Float value is %f \n", flt); printf("Integer value is %d\n" , no); printf("Double value is %lf \n", dbl); printf("Octal value is %o \n", no); printf("Hexadecimal value is %x \n", no); return 0; }
Recent Pastes
Young G1RL anl videos
37 mins 4 secs ago
Home page
4 hours 48 mins 46 secs ago
страница Обменко...
5 hours 1 min 30 secs ago
CP COLLECTION 2025 MEGA LINKS...
5 hours 36 mins 30 secs ago
Nudesbuddies
5 hours 54 mins 3 secs ago
Upload your own Photos at
PasteNet Photos
Free Packet LLC
For all your hosting needs!