What is this infamous null pointer, anyway?

Answer: The language definition states that for each pointer type, there is a special value -- the "null pointer" -- which is distinguishable from all other pointer values and which is not the address of any object. That is, the address-of operator & will never yield a null pointer, nor will a successful call to malloc. (malloc returns a null pointer when it fails, and this is a typical use of null pointers: as a "special" pointer value with some other meaning, usually "not allocated" or "not pointing anywhere yet.")

A null pointer is conceptually different from an uninitialized pointer. A null pointer is known not to point to any object; an uninitialized pointer might point anywhere. See also questions 49, 55, and 85.

As mentioned in the definition above, there is a null pointer for each pointer type, and the internal values of null pointers for different types may be different. Although programmers need not know the internal values, the compiler must always be informed which type of null pointer is required, so it can make the distinction if necessary (see below).

References: K&R I Sec. 5.4 pp. 97-8; K&R II Sec. 5.4 p. 102; H&S
Sec. 5.3 p. 91; ANSI Sec. 3.2.2.3 p. 38.

Aptitude Test Practice Questions - With Answers

Question 1. Which of the following is least like the others?
A.    cube
B.    sphere
C.    pyramid
D.    circle

Anwser:
D (because the circle is the only two-dimensional figure)

Question 2. Consider a language which uses the following set of characters:
Small set: { a b c }
Large set: { A B C }
Punctuation set: { x y }
This language must follow the following rules:
  1.    A punctuation character must end all series.
  2.    A series can have up to but no more than 4          characters,including punctuation characters.

Does the following series follow all the rules of the language defined above?
axBy
  A.    Yes
  B.    No

Answer:
A (the series has only four characters and ends in a punctuation character)

Question 3. Consider the following flow chart for a customer:



The person in No.1 is:
    A.   Married, with children
    B.   Married, with at least one son
    C.   Unmarried, with at least one daughter
    D.   Unmarried, with at least one son
    E.   Unmarried, with no children

Answer:
D (married: no; children: yes; male child: yes)

Question 4. Susan can type 10 pages in 5 minutes. Mary can type 5 pages in 10 minutes. Working together, how many pages can they type in 30 minutes?
    A.   15
    B.   20
    C.   25
    D.   65
    E.   75

Answer:
E (30/5=6; 6*10=60; Susan will type 60 pages in 30 min. 30/10=3; 5*3=15; Mary will type 15 pages in 30 min. 60+15=75)

Question 5. Consider the following series:
3, 4, 6, 9, 13, ____ What comes next?
    A.   15
    B.   16
    C.   17
    D.   18
    E.   19

Answer:
D (3+1=4; 4+2=6; 6+3=9; 9+4=13; 13+5=18)

Army Institute of Technology, Pune : Addmition 2015 - Based on JEE

Important Dates:
Last date for submission of completed AIT Application Form: April 30, 2015
Date of JEE (Main)-2014 (offline) :   April 4, 2015
Date of JEE (Main)-2014 Online :         April-10 - 11, 2015

Army Institute of Technology, Pune invites application to admission for the year 2015-2016 for the BE Courses commencing in July/August.

AIT admission is based on the merit of JEE. All applicants are therefore required to appear in JEE and also apply to AIT.

Eligibility:

The eligibility criteria for admission to AIT is given in detail in the Prospectus which is available in February every year. Brief outline is as below :-
  1. Candidate must be a ward of one of the following :-  
    • Serving Army Persons. 
    • Serving medical officers of IN and IAF who have served in the Army for more than 10 yrs and are members of AOBF. 
    • Retired Army pers who in receipt of regular pension, or former Army pers who retired after min service of 10 yrs. 
    • Former Army pers who died during service/after retirement and family pension is granted. 
    • TA pers who have completed 10 yrs of embodied service. 
    • DSC pers who are serving or retired with pension.
  1. War widow (in receipt of liberalized pension) and children in receipt of family pension (due to death of both parents) are also eligible.
  2. Details of eligibility of adopted/step children are as in the prospectus.
  3. Should have passed, or appeared for 10+2 exam, at the time of applying for admission to AIT. Minimum acceptable mark in PCM are 50%.
  4. Age of the candidate must be between 16 to 21 years on 01 Jul 2014.
  5. Must be an Indian citizen, or a PIO who obtains Indian citizenship before admission.

JEE Application Form:

Candidate can apply for JEE 2015  'Online'. For this candidates are advised to visit www.jeemain.nic.in. Details can be obtained from

Executive Director
JEE Main Secretariat
Central Board of Secondary Education
PS 1-2, Institutional Area, IP Extension
Patparganj, Delhi - 110 092
Tel: 91-11-22239177-80 Extn 110,151 &157
Fax: 011-22246095

AIT Application Form:

JEE Application Form should be filled before AIT Application Form. The JEE Roll No must be endorsed on the AIT Application Form before submitting it to AIT. Failure to do so would result in rendering the AIT Application Form null and void.

Prospectus and Application Form can be obtained by hand or by post from AIT as well as from HQ Commands and Army HQ (AWES Branch). The Prospectus can also be downloaded from the institute website.

Cost of Prospectus and Application form is as follows:- 

By Post :- Rs 820/- through bank Demand Draft drawn in favour of Director, AIT payable at Pune.
By Hand :- Rs 750/- through bank Demand Draft drawn in favour of Director, AIT payable at Pune.
Down-loaded Forms:- Down-loaded Application Form should be accompanied with a bank Demand Draft for Rs 750/- drawn in favour of Director, AIT payable at Pune. The details of Bank Draft should be mentioned clearly in the Application Form.
Counseling at AIT, Pune, will be after one month from the date of declaration of JEE Results. Dates of counseling will be hosted on the AIT website

Note : Filling up of JEE form and AIT Form is compulsory. Failing to fill up any one of the form will lead to rejection of admission to AIT.

For more details refer official website

 Contact Details
 Address : Army Institute of Technology, Dighi Hills, Pune-411015
 Phone : 020-27157534, 27157612
 Fax : 020-27157534
 Mobile :
 E-mail : Contact I
 Website : www.aitpune.com/

Categories

10th 3i InfoTech Academic Books Accenture ACIO ActiveX ADT Agricultural AIEEE Air Force Algebraic Amdocs Android Answers Application Development Aptitude Aptitude Questions Architectures ASP ATOS B.Sc B.Tech.B.E. Bank Exam BCA BE Board Exam Books break-continue Business Plan C C Programming C# C++ Campus campus interview Candidate profile Capgemini Career CDS Certification CET Challenge Circle Cisco class code Cognizant communication Company Company Profile Competitive Exams computer Computer Networks concentric circles constructor Course Credit Suisse CSS CTS Data Structure DBMS DC Deloitte difficult interview questions dimensions Distributed Computing do while dotNet Download ds Dynamic Web Development e-Admit card Educational engineering entertainment Even Odd Events exam schedule exception for loop fresher GATE general Discussion general knowledge Get Placed Government Job Hall Ticket HCL how to answer How to Prepare HR HR Interview HSC hypertext preprocessor IB IBM IBPS IIT Indian Army Information infosys Intelligence Bureau Internship interview Experience interview questions Interview Tips IntroC IntroC# IntroJava IntroPHP IT J2EE J2ME Java JavaScript jobs Language Books Language Tutorial Languages limit number of objectsJava Limit the number of objects being created in JAVA Linux Linux Administrator Linux Developer Logical Questions loops M Tech M.E. M.Tech M.Tech AND B.Tech Management Management Skills Matrices MBA mca ME microsoft mistakes Mixture Mobile Computing mock questions mock test MySql naukri NDA OOP opening Operating System Oracle paper Persistent PHP php programming php string variables PL/SQL Placement placement guide Placement Paper Placement Process preparing for placement presentation probability Problems Professional program Programming Project Engineer project idea Projects Puzzle qualities Question of the day Questions Quiz Question Recruitment Recruitment Pattern Requirement Result Resume Reviews Screen Sizes Scripting Session Skills Software Software Engineering solved papers Source Code Speed time and distance SQL SSC story Stress Interview Study Material study tips submit resume Synonym TCS Tech Mahindra tech news Technical Books Technical Interview Testing thank you letter Thought Time Table TutC++ Unix questions asked in aptitude and inteviews for MCA UPSC verbal Web Designing Web Developer Website Development What to read while loop Wipro Writing Resume

Receive Quality Tutorials Straight in your Inbox by submitting your Email ID below.