The document discusses various input/output functions in C programming like printf(), scanf(), gets(), puts(), getchar(), putchar(), getc(), putc(), getch(), getche() along with format specifiers and escape sequences. It provides examples of using these functions to take input from and display output to the user. It also covers topics like reading strings, single characters, addresses of variables, and defining symbolic constants.
TO UNDERSTAND about stdio.h in C.
TO LEARN ABOUT Math.h in C.
To learn about ctype.h in C.
To understand stdlib.h in c.
To learn about conio.h in c.
To learn about String.h in c.
TO LEARN ABOUT process.h in C.
TO UNDERSTAND about stdio.h in C.
TO LEARN ABOUT Math.h in C.
To learn about ctype.h in C.
To understand stdlib.h in c.
To learn about conio.h in c.
To learn about String.h in c.
TO LEARN ABOUT process.h in C.
It is an attempt to make the students of IT understand the basics of programming in C in a simple and easy way. Send your feedback for rectification/further development.
It is an attempt to make the students of IT understand the basics of programming in C in a simple and easy way. Send your feedback for rectification/further development.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
16. Place Holder Data Type Displayed
%i , %d int, long, short, char,
unsigned int
Decimal Value, ASCII
value
%u Unsigned int Decimal Value
%o Int Octal Value
%x, %X Int Hexadecimal
%f Float Float value with zeros
%g %G Float, Double Float value with no zeros
%e, %E Float, Double Float in exponent
%lf Double Double value
%c Char Single character
%s Array of Character String
17. #include<stdio.h>
void main(){
printf("Decimal No =%5d",123);
printf("nOctal No =%5o",123);
printf("nHex No =%5x",123);
printf("nFloat with g =%5g",123.456);
printf("nFloat with f =%5f",123.4560);
printf("nFloat with f =%5.1f",123.4560);
printf("nFloat with lf =%5lf",123.456);
printf("nFloat with e =%5e",123.456);
printf("nSingle Char = %5c",'A');
printf("nString %5s","Hello");
}
printf
Decimal No = 123
Octal No = 173
Hex No = 7b
Float with g =123.456
Float with f =123.456000
Float with f =123.5
Float with lf =123.456000
Float with e =1.234560e+002
Single Char = A
String Hello
18. #include<stdio.h>
void main(){
int a=45;
int *ptr=&a;
unsigned int b=56;
printf("Address of a in decimal =%dn",&a);
printf("Address of a in hexadecimal =%xn",&a);
printf("Content of pointer =%p",ptr);
printf("Decimal No =%d",b);
}
Address of Variable
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29. • Single character
• #include<stdio.h>
• void main(){
• char ch;
• ch=getchar();
• putchar(ch);
• }
getchar(), putchar()
30. • When we use %s for scanf,
it only scans string before
white space
• White spcace can be space,
tab or new line
scanf() for string
#include<stdio.h>
void main(){
char sen[50];
scanf(“%s”,sen);
printf(sen);
}
32. getc() and putc()
#include<stdio.h>
void main(){
char ch;
ch=getc(stdin);
putc(ch,stdout);
}
• Reads single
character from
specified source
• Write single
character to specified
resource