Internal Representation of Characters in C/C++
Not what you're looking for?
Examine this code snippet and explain why it will work or why not it will not?
char a;
for(a = 'a';a < 'm';a++)
printf("%cn");
Purchase this Solution
Solution Summary
Illustrates with an example. why a C/C++ statement involving a char variable is evaluated differently.
Solution Preview
The snippet produces the following output.
a
b
c
d
e
f
g
h
i
j
k
l
This works ...
Purchase this Solution
Free BrainMass Quizzes
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
C# variables and classes
This quiz contains questions about C# classes and variables.
Basic UNIX commands
Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.