What is difference between the following 2 lines….
int temp = (int)(0x00);
int temp = (0x00int);
Answers were Sorted based on User's Feedback
Answer / s.srinivasulu
first one is valid initialization and
second one syntax error and it will give compilation error
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / mandoos
first is an integer declaration and initializing it with a
hex value
Second will produce syntax error, is that question is correct?
Is This Answer Correct ? | 10 Yes | 0 No |
What is meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
program for swapping two strings by using pointers in c language
Write a C program to convert an integer into a binary string?
What does sizeof return c?
Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?
Is it fine to write void main () or main () in c?
When should volatile modifier be used?
What is the value of uninitialized variable in c?
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
Is javascript based on c?
State the difference between realloc and free.
Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1