Search:

Type: Posts; User: saswatdash83

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,538

    sizeof operator

    Why sizeof() is considered as a special operator and not as a function??
  2. Replies
    9
    Views
    2,445

    Hi Sebastiani, Could u pls explain a bit.I...

    Hi Sebastiani,

    Could u pls explain a bit.I tried bit shift operation,but did not get the result.
  3. Replies
    9
    Views
    2,445

    I was trying with bit shift operation but did not...

    I was trying with bit shift operation but did not succeed.
  4. Replies
    9
    Views
    2,445

    Addition of two numbers

    I want to write a program to add two numbers, such that the addition result is not going to overflow at anytime.Can somebody help me out.

    Thanks.
  5. Replies
    1
    Views
    1,847

    Calling of function within a structure

    Could anybody tell me how to call a function with in a structure.

    Will it compile????

    Pls give one example.
  6. Replies
    5
    Views
    1,317

    Is it option(a)......Not Sure

    Is it option(a)......Not Sure
  7. Replies
    5
    Views
    1,317

    Where do you have to acquire the semaphore to...

    Where do you have to acquire the semaphore to make the following piece of code reentrant? Assume semget() and semgive() are OS calls to get and release the semaphore respectively.


    1 int value;...
  8. Replies
    5
    Views
    1,317

    Reentrancy

    Can some body explain what is Reentrancy with examples???
  9. Replies
    2
    Views
    24,068

    printf() function definition

    In which header file exactly printf() function is defined??

    stdlib.h/libc.so
  10. Replies
    2
    Views
    970

    How to check error

    Suppose an engine is sending 4 bytes of data everytime. Suddenly it stops. Device a error handling mechanism to check at this point of time. You will have to complete the incomplete set of data and...
  11. Replies
    3
    Views
    2,207

    Null Pointer

    Null pointer points to 0 or (void*)0 ?
  12. Replies
    2
    Views
    2,248

    Null pointer

    Null pointer points to 0 or (void*)0?
  13. Replies
    2
    Views
    2,248

    Memory allocated

    How to know how much of memory has been allocated in stack and how much amount of memory is free??
  14. Replies
    4
    Views
    2,350

    Hi, I have compiled your program it runs...

    Hi,

    I have compiled your program it runs fine.But you should not declare main() as void.Some compiler does not take main as void rather declare main() as int and return 0(return 0;) in main.
  15. Replies
    1
    Views
    1,605

    Linking Error

    Hi All,

    Can anybody give me two examples of linking error?
  16. Replies
    5
    Views
    3,505

    Multiline Macro

    This question has already been asked to me in two interviews.So I want to know this answer using macro.
  17. Replies
    5
    Views
    3,505

    Multiline Macro

    Hi All,

    How to toggle a bit of a byte using macro.

    toggle(number,bit to be toggled)

    suppose I want to toggle the 2nd bit of 10001101 then macro to be implemented is

    toggle(10001101,2)
Results 1 to 17 of 17