Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / sundeep
First of all the code returns compile time error....bcoz
of "c++2",and c!=256 becoz unsigned char takes just 255
bytes..........and exceeding that results in compile time
error........
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is string length in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is pointers in c with example?
What is modifier & how many types of modifiers available in c?
Difference between MAC vs. IP Addressing
Do you have any idea how to compare array with pointer in c?
What is I ++ in c programming?
What is the heap?
Do you know the use of fflush() function?
What are c header files?
When should the volatile modifier be used?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Who invented bcpl language?
program for reversing a selected line word by word when multiple lines are given without using strrev
Define VARIABLE?