What is size of character, integer, integer pointer, character pointer?



What is size of character, integer, integer pointer, character pointer?..

Answer / Rohitash Singh

On most systems, a character (char) is 8 bits (1 byte), an integer (int) is typically 32 bits on 32-bit systems and 64 bits on 64-bit systems, an integer pointer (int*) is the size of a pointer, which depends on the system but is usually 32 or 64 bits, and a character pointer (char*) is also the size of a pointer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Embedded Systems AllOther Interview Questions

What is the use of volatile keyword?

1 Answers  


What is difference between using a macro and inline function?

1 Answers  


What are the advantages and disadvantages of separation of concerns?

1 Answers  


What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?

1 Answers  


What is the difference between locking and lockless (optimistic and pessimistic) concurrency models?

1 Answers  


Differentiate testing and verification?

1 Answers  


What's the difference between unit test and integration test?

1 Answers  


Please write a program to show the functionality of power-save super loop?

1 Answers  


Tell me what are the different types of customizations that is used with the “volatile” keyword?

1 Answers  


Explain the difference between a microcontroller and an embedded system?

1 Answers  


what is embedded system in a computer system?

1 Answers  


Can we use semaphore or mutex or spin lock in interrupt context in linux kernel ?

3 Answers   Broadcom,


Categories