Overview of C Programming Flashcards
1
Q
How many bits are required to represent M values?
A
ceiling(log2(m))
2
Q
What are the basic data types in C?
A
char, int, float, double
3
Q
What is the advantage of greater word size?
A
More efficient
4
Q
What happens if you don’t put ‘break’ for the cases in switch statements?
A
It will keep evaluating all the cases below the satisfied case