GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Pointer Questions and Answers


 Sponsored Links

 
 Pointer Questions and Answers - Page 11
Sorting Options :  

What is the output of the program?#include void main(){char buffer[10] = {"Genesis"};printf(" %d ", &buffer[4]- (buffer));}A. 3B. 4C. 0D. Illegal pointer subtraction
B 
Category: Technical   Tags : Pointer

A structure pointer is defined of the type time. With 3 fields min, sec hours having pointers to integers.Write the way to initialize the 2nd element to 10.
QUESTION 8In the above question an array of pointers is declared.Write the statement to initialize the 3rd element of the 2 element to 10; 
Category: Technical   Tags : Pointer

int (*f)(),int* f() 
Category: Aptitude   Tags : Pointer

What does the following statement mean?Int (*a)[4]A. 'a' is a pointer to an array of 4 integersB. 'a' is an array of pointers to integerC. 'a' is a pointer to function returning an integer
A 
Category: Aptitude   Tags : Pointer

int (*f)(),int* f(); 
Category: Technical   Tags : Pointer

How to pass two arguments to a function prompted to by function pointer A. g -> (1,2) B. *g(1,2) C. (*g)(1,2) D. g(1,2)
C  
Category: Technical   Tags : Pointer

Nse it papers NSEIT Campus Paper1) Then, difference b/w char *str = "Hello"; char arr[] = "Hello"; he started asking whether following statements get complied or not; arr++; // ERROR..its like a pointer constant *(arr + 1) = 's'; cout
View Question | Asked by : bhavin

View Question | Asked by : vivek singh chauhan
Category: C   Tags : Pointer

One pointer diff is given like this:int *(*p[10])(char *)Explain the variable assignmentIn the following code;#includemain(){FILE *fp;fp= fopen("trial","r");} fp points to:a) The first character in the file. b) A structure which contains a "char" pointer which points to the first character in the file.c) The name of the file. d) None of the above.
View Question | Asked by : SONAL
Category: Grape City   Tags : Pointer

View page << Previous 7 8 9 10 [11] 

Ask A Question
Go Top
 Sponsored Links

 
Expert Members
# User Name Count
1sudhakar2068 390
2sahu 324
3jainbrijesh 282
4sampra 278
5samiksc 231
6Sujatars 206
7Beena 194
8sivanesh.a 188
9sithusithu 161
10sujatham 142
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape