ADD









ANSI C by E. Balagurusamy chapter FOUR solution

Managing Input and Output Operator


4.1)    State whether the following statements are true or false

a)    The purpose of the header file<studio.h> is to store the programs created by the users

b)    The C standard function that receives a single character from the keyboard is getchar
c)    The input list in a scanf statement can contain one or more variables

d)    The scanf function cannot be used to read a single character from the keyboard

e)    The getchar cannot be used to read a line of text from the keyboard

f)    Variables form a legal element of the format control string of a printf statement

g)    The format specifications %+-8d prints an integer left-justified in a field width of 8 with a plus sign, if the number is positive


h)    If the field width of a format specifier is larger than the actual width of the value, the value is printed right-justified in the field

i)    The format specification %5s will print only the first 5 characters of a given string to be printed

j)    When an input stream contains more data items than the number of specifications in a scanf statement, the unused items will be used by the next scanf call in the program

k)    Formal specifiers for output convert internal representations for data to readable characters

l)    The print list in a printf statement can contain function calls


// example code comming soon

লিখেছেন ,
 Md. Rusul Azom Sumon
 CEO & FOUNDER azomTech
(লেখাটি লেখক কতৃক সংরক্ষিত কপি করা কপি করে পরিমার্জন করে অন্যকোথোও প্রকাশ করা সম্পূর্ণ নিষিদ্ধ ,কিন্তু অবাণিজ্যিক উদ্যেশে(শিক্ষার জন্য ) লেখকের অনুমতি নিয়ে ব্যবহার করা যাবে )

No comments

Theme images by lishenjun. Powered by Blogger.