G A T E F O R S T U D E N T S - C-aptitude (61-90)

Contact
Computer Sciences
=> C-aptitude (21-40)
=> C-aptitude (41-60)
=> C-aptitude (61-90)
=> C-aptitude (91-120)
=> C-aptitude (121-178)
=> Operating system -1
=> Refresher for Interview
=> Essence of C
=> Computer Basics
=> C++ Aptitude-1
=> Technical Aptitude-1
=> C++ Aptitude-2
=> Networking
=> CTS - 1
=> CTS - 2
=> UNIX Section I
=> UNIX Section II
=> UNIX Section III
=> C-aptitude (1-20)
=> Windows Xp OS Format
=> An A-Z Index of the Windows XP command line
=> Command-line reference A-Z
Physics
Chemistry
Maths
Commerce
Exam Alerts (New)
General aptitude
Company Informations
Personality Development
Body Language
Facing Interviews
Group Discussion
Educational News
LIST OF E-BOOK SITES
Health Tips
Subjects Gateways
Innovative sciences
Life sciences



 
 
61)       main()
            {
            char *cptr,c;
            void *vptr,v;
            c=10; v=0;
            cptr=&c; vptr=&v;
            printf("%c%v",c,v);
            }
Answer:
Compiler error (at line number 4): size of v is Unknown.
Explanation:
You can create a variable of type void * but not of type void, since void is an empty type. In the second line you are creating variable vptr of type void * and v of type void hence an error.
 
62)       main()
            {
            char *str1="abcd";
            char str2[]="abcd";
            printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd"));
            }
Answer:
2 5 5
Explanation:
In first sizeof, str1 is a character pointer so it gives you the size of the pointer variable. In second sizeof the name str2 indicates the name of the array whose size is 5 (including the '

Site Maintained by
Saravanan.R.R.
NithinRaj.P

For Job Searching
www.naukri.com
www.freshersworld.com
www.jobsearch.monsterindia.com
www.recruit.net
www.timesjobs.com
www.jobsearchworld.com
www.placementindia.com
www.bestjobsindia.in
www.jobsahead.com
www.jobsearch.co.in
www.jobsearchinformation.com
www.jobconsultancy.com
www.marketingcrossing.com
www.mobile.monsterindia.com
www.hinduonnet.com

Tutorials Searching
www.howstuffworks.com
www.tutor.com
www.en.wikipedia.org
www.mathguru.com
www.knowledgeonlineservices.com
www.mygretutor.com

English Tutor Searching
www.englishgrammartutor.com
www.theenglishtutor.com
www.learnenglish.de
www.tolearnenglish.com
www.englishclub.com
www.english-at-home.com
www.learn-english.co.il
www.learnenglish.be

For Entrance Exam Details Searching
www.winentrance.com
www.entranceexamindia.com
www.studyplaces.com
www.entranceexam.info
www.indiastudychannel.com
www.edudiary.com
www.successcds.net

Today, there have been 1 visitors (10 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free