GeeksforGeeks » Interview Questions

TCS Interview Question for Software Engineer/Developer (Fresher) about Puzzle

(2 posts)

Tags:

  1. Lakki
    guest
    Posted 6 months ago #

    If we declare a pointer like char *p;
    how much memory is allocated for pointer variable 'p'.

  2. suresh
    Member
    Posted 6 months ago #

    its depending on the complier
    in linux it give 4 bytes
    in dos it give 2 bytes


Reply

You must log in to post.

RSS feed for this topic