What are the different flags in C? And how they are useful?
And give example for each in different consequences?
Answer / archana
\a , \f, \r, \n , \b are the flags
\a means audible bell
\n= new line
\r= next page
| Is This Answer Correct ? | 1 Yes | 2 No |
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What does %c do in c?
what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
What will the preprocessor do for a program?
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.
What is C language Terminator?
What's the best way to declare and define global variables?