Answer Posted / kalyan chukka
if we print 1 to 100 nos we write 100 printf statements. But
using loop we use single statement.and complexity is low
size is low execution is fast.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Distinguish between actual and formal arguments.
What is #line used for?
Describe the header file and its usage in c programming?
How do I use void main?
What does return 1 means in c?
What are derived data types in c?
What is nested structure?
What is c definition?
What is this infamous null pointer, anyway?
What is a static function in c?
How does #define work?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
How many types of sorting are there in c?
i want to know the procedure of qualcomm for getting a job through offcampus