Home Tutorialhelp Comment doubt in c pointer

 
 

Comment

jeyshree
doubt in c pointer,
February 11, 2010 at 10:37 AM

sir when we gave size of operator with integer ponter ,char pointer ,float pointer
in a 16 bit processor it gave the ouyput as 2 .what will be the output when we use 32 bit procesor.does it depend on operating system

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
IoC Questions

c-language pointer functions
c-language pointer functions  what is the execution process of character pointer functions with example 

Development process Questions

Function pointer in c
Function pointer in c  What is the difference between function call with function pointer and without function pointer(normal function call 

Java Beginners

DOUBT ?
DOUBT ?  in c++ member function of a class must be public 

Java Beginners

basic c/c++ questions
basic c/c++ questions  Are the Control statements like if(),while() in built functions? if no, why not as they satisfy all the properties of a function 

Java Beginners

basic c/c++ questions
basic c/c++ questions  Are the Control statements like if(),while() in built functions? if no, why not as they satisfy all the properties of a function 

C Tutorials

C Structure Pointer
C Structure Pointer       This section illustrates you the concept of Structure Pointer in C. You... through structure pointer. For that, we declare the structure type st consisting 

Java Beginners

C/C++ QUESTIONS
C/C++ QUESTIONS  ??Write a function for finding out the occurences of repeated word from a sentence. This function would return an array of duplicate words. 

Java Beginners

C/C++ QUESTIONS
C/C++ QUESTIONS  "Write a function for finding out highest and lowest marks obtained by a student from an array contained student name and marks". For Example : GetHighestLowestMarks{Student{n}, Marks{n}} returns 

Programming Tutorials

C++Tutorials
pointer.     Learning C++ An interface... C++ Tutorials              C++ Tutorial 

C Tutorials

C Pointer to a function
C Pointer to a function       In this section, you will learn how to use 'Pointer'  function in C. C provides a special feature of  pointer to a function 

Programming Tutorials

Pointer in C
; inside. The address variable c is 0X3000. And a pointer variable cptr of char data-type. The cptr pointer variable having the address of c variable rather...About Pointer A pointer is a variable which contain the memory address 

Blog

Site map - C Tutorials
Structure example | C Structure Pointer | C Temperature Converter | C... Multiple Indirection | C Pointer to a function | C String Remove Spaces | C...Index  | About-us | Contact Us | Advertisement | Ask Questions 

Java Beginners

null pointer
null pointer  dear sir , what is mean by null pointer in c 

Java Beginners

C Structure
C Structure  Respected sir, Can a structure in C contain a pointer to itself ? if yes means how sir ? plz help me sir 

CVS Questions

C++
C++  How can i write this in dev c 

Development process Questions

C++
C++  How can i write this in dev c 

Ajax Questions

c#
c#  how to find out the size of the BMP image in C 

Java Interview Questions

C interview questions
C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2...? a. 5 b. 6 c. 10 d. 11 e. 12 /question number 2/ With every use of a memory 

Java Interview Questions

C interview questions
C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2...? a. 5 b. 6 c. 10 d. 11 e. 12 /question number 2/ With every use of a memory 

IoC Questions

C Concepts
C Concepts  respected sir, Can I use a void ** pointer as a parameter so that a function can accept a generic pointer by reference? I have a function extern int f(int *); which accepts a pointer to an int. How can I pass 

Development process Questions

c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator 

Development process Questions

c++
c++  write a programme that calculates the area and circumference of a rectangle 

Ajax Questions

c#
c#  how to find out the size of the BMP image 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Development process Questions

C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser 

IDE Questions

c++ - IDE Questions
c++  how can i write a simple program in c++ that outputs 399 in words?thank you.  Hi Friend, C program to convert number to words: #include #include char *ch1[]={" "," one"," two"," three"," four"," five 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

C++
C++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Java Beginners

C++
C++  Describe the principle advantages of deploying a linked list versus a static array when implementing a Queue or a Stack 

Design concepts & design patterns Questions

C++
C++  Trace the bubble sort using the following integers,which represent the elements in an array. 5,7,3,8,6,7,3 

Development process Questions

c++
c++  write a prgrm tht accepts 3 integer values,then with a function to swap the values 

Development process Questions

C++
C++  I have been asked to write a programme that gets five values,gets the sum,average and product please help me 

Java Beginners

C#
C#  i need a code that will make program perform the basic operations upon the data Listview save, update and cancel 

Spring Framework Questions

c++
c++  write a program that gets a key or character from the keyboard and displays it ASII code in decimal, hexadecimal and binary form.It must also give a description of the key pressed 

Development process Questions

c++
c++  write a prgrm tht calculates the surface area of a cylinder.the prgrm shld find the circumfrance and have a function that calculates the fadius and another to calculate the surface area 

Development process Questions

C++
C++  write a prgrm tht gets five values,gets the sum,average &...; #include <conio.h> void main() { clrscr(); int a,b,c,d,e,sum; float average...;>b>>c>>d>>e; sum=a+b+c+d+e; average=sum/5; product=a*b*c*d 

Development process Questions

c++
c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70 

UML Questions

c++
c++  Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum 

UML Questions

c++
c++  Consider the following declarations: class xClass { public: void... private members does class xClass have? c. How many constructors does class xClass.... Write a C++ statement that prints the values of the data members of the object 

Development process Questions

C#
C# register form  i want to generate a user id automatically after filling their register form and i want to show their id to their email? please reply me soon 

UML Questions

c++
c++  Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u... private members does class xClass have? c. How many constructors does class xClass 

CVS Questions

c++
c++  Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo... name with the minimum GPA 7) Display Student GPAs as Letter Grades (A, B, C, D 

Development process Questions

c++
c++  .write a prgrm tht accepts 5 subjects of a student,it shld hv a function to calculate the average & another function to grade.grade shld be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70 

UML Questions

c++
c++  Characterize the following algorithm in terms of Big-O notation. Also find the exact number of additions executed by the loop. (Assume that all variables are properly declared.) for (int i = 1; i <= n; i++) sum = sum + i 

UML Questions

c++
c++  Characterize the following algorithm in terms of Big-O notation. for (int i = 1; i <= n; i++) for (int j = 1; j <= n; j++) for (int k = 1; k <= n; k++) cout << i + j + k 

UML Questions

C++
C++  . Consider the definition of the following class: class CC { public: CC(); //Line 1 CC(int); //Line 2 CC(int, int); //Line 3 CC(double, int); //Line 4 . . . private: int u; double v 

UML Questions

c++
c++  Write the definition of the class dayType that implements the day of the week in a program. The class dayType should store the day... on an object of type dayType: a. Set the day. b. Print the day. c. Return the day 

Java Beginners

pointer to a reference
pointer to a reference  pointer to a reference in C++    #include <iostream> using namespace std; void foo1(int& x) { int* p = &x; *p = 123; } void foo2(int* x) { int 

Java Beginners

pointer to a reference
pointer to a reference  pointer to a reference in C++    #include <iostream> using namespace std; void foo1(int& x) { int* p = &x; *p = 123; } void foo2(int* x) { int 

Java Beginners

c++
c++   Assume vector "x" of integers with values of 7, 3, 5, 8, 1, 9, 0, 4, 2, 6. Second, assume integer variables "a," "b" and "y" with values of 3, x.size()-5 and 0, respectively. Third, assume a for-loop header which: 3.1 

Development process Questions

c++
c++  write a programme that calculates the area and circumference of a rectangle   #include<conio.h> #include<iostream.h> class rect { int l,b; int area; int peri; public: void get_rect() { cout<<"\n 

Java Interview Questions

C - Java Interview Questions
 

SQL Question

c# (ado.net)
c# (ado.net)   i am preparing a 180 query questions. how to make a groupbox that include 3 radio buttons named (YES, NO, CANCEL)when i select YES then, the YES is stored in the sql,when i select NO then, the NO is stored 

C Tutorials

C Multiple Indirection
Indirection. C permits the pointer to point to another pointer. This creates many layers of pointer and therefore called as multiple indirection. A pointer... C Multiple Indirection    

General

Ask C/C++ Questions online
Ask C/C++ Questions online       C and C++ are different programming language, but both the languages are popular among programmers. C is a general 

C++

C Tutorials
; C array of pointers A pointer is a variable that contains... element is a pointer to a character.    C Array... pointers.   C Pointer to a function C 

Programming Tutorials

Pointer and Structure in C
Description: In this tutorial you will see how pointer is used with structure. This is a very important example because all data-structure program work... the address of object to p *p allow the pointer to access the objects *p.roll is same 

Development process Questions

C,C++
C,C++  Sir, 100&30 gives output 4 in C++ and 100|30 gives output 116 How & and | gives output 4 and 116 

Development process Questions

c++ - Development process
c++  How to integrate two or more c++ programs. i have one more doubt in c++ language.how to create header file in c++(user defined).please reply immediately 

Development process Questions

C,C++
C,C++  int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r);   #include<stdio.h> #include<conio.h> void main(){ int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r 

JSP Servlet Questions

big doubt
() + ":" + request.getServerPort() + path + "/"; */ /* Calander c = (new Date 

Java Interview Questions

about c and java
about c and java   i need java and c language interview and objective questions with answers for the fresher.please provide to me   Please...://www.roseindia.net/c-tutorials/ http://www.roseindia.net/interviewquestions 

WebSevices Questions

how to acces file in c - WebSevices
how to acces file in c  How to acces file in c.... I have doubt on visual c++ ... how to create dialog control in visual c 

Free Books

C and C++ books-page10
C and C++ books-page10       The programming language C As a programming language, C is rather.... Of the three languages, C allows the most precise control of input and output. C 

Java Beginners

C Language - Java Beginners
C Language  1. What are extension files? Give examples. 2. What is operating system? What are the different types available? 3. What... answer for the above questions since it is very much needed urgently 

Java Interview Questions

Difference between C++ and Java - Java Interview Questions
Difference between C++ and Java  Basic difference between C... was derived from C++ but still there is big difference between these two... definition in C++, but there is no closing semicolon. 3. Forward reference 

Development process Questions

c/c++ - Development process
c/c++  Creating animation using c/c++. The code for moving an object using c/c 

Development process Questions

C++ program not running
C++ program not running  Hi, this program need to ask 10 random questions with a random month name. Example: RUN How many days are there in the month of March? 28 No March has 31 days. How many days are there in the month 

Development process Questions

c/c++ - Development process
c/c++  I need the code for developping two dice and roll them using c/c++. Thanks 

Java Beginners

variable declaration in c and c++
variable declaration in c and c++  Comparison and an example of variable declaration in C and C 

Java Beginners

null pointer error
null pointer error  Respected sir there is a problem in this code... pointer error sir please help me my code are given below compilatation class...=stmt.executeUpdate(); //cn.commit(); cn.close(); } catch(SQLException c) {} catch 

Java Beginners

null pointer error
null pointer error  Respected sir there is a problem in this code... pointer error sir please help me my code are given below compilatation class...=stmt.executeUpdate(); //cn.commit(); cn.close(); } catch(SQLException c) {} catch 

Development process Questions

C/C++ - Development process
C/C++  I need the code for playing the backgammon game using C/C++.Im using turbo C. I`ve already design the board.I badly need the code for playing this game 

Java Tips and Examples

Java vs. C
used in C programs anyway. There are no pointer operators (&, *, ->... Java: Java vs. C Is Java easier or harder than C? Java is harder because ... Java is more powerful and can do much more than C. For example 

Java Beginners

Doubt on Segmentation - Java Beginners
Doubt on Segmentation  Hi .. ImageProcessing.. How to segment the each and every characters from the bitmap image Consider for an example... WORD - Segmented Characters Visualc++ ------ > V|i|s|u|a|l|c 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

Java Beginners

c or c++ - Java Beginners
c or c++  Write a program for a two user chess game(Users must be on different systems)? please send me this source code to my mail id with step by step explanation 

Java Beginners

c c++ - Java Beginners
c c++  Write a Multi-user chat server and client  Hi Friend, Please visit the following link: http://www.roseindia.net/chatserver/index.shtml Hope that it will be helpful for you. Thanks 

Development process Questions

C++ Starter needs help :S
questions abaut C++. Please help! :(   Please visit the following link: C...C++ Starter needs help :S  Hi, im 15 & im trying to learn how to program, i am starting with C & C++ since these are (what ive been told 

Free Books

C and C++ books-page6
* as its parameter.      The Pointer to C++ Member... C and C++ books-page6       The Refactoring C++ Code  The two functions DOMString.transcode 

C Tutorials

C array of pointers
C array of pointers      .... A pointer is a variable that contains the memory location of another variable...; Syntax of declaring a pointer:   data_type_name * variable name First 

Java Beginners

c c++ - Java Beginners
c c++  Write a small record management application for a school...]; String name = f[1]; String c = f[2]; String note = f[3...]; String name = st[1]; String c = st[2]; String note = st[3]; if (id.equals 

Swing AWT

c c++ - Swing AWT
c c++  Write Snake Game using Swings  Hi Friend, Try the following code: 1)SnakeGame.java: import javax.swing.JFrame; public class SnakeGame extends JFrame { public SnakeGame() { add(new Snake 

Java Beginners

doubt - Java Beginners
c; private String driver = "com.mysql.jdbc.Driver"; private String user... (driver); c = DriverManager.getConnection(url+db,user,pass); }catch 

Java Beginners

C# question
C# question  Explain enumeration base types in C 

Java Beginners

C# question
C# question  In C#, string is a class or primitive type. Explain 

Swing AWT

how to move pointer in Textfield to newline
how to move pointer in Textfield to newline  consider my case... a2=Integer.parseInt(s2); int c[]=new int[10]; for(int i=1;i<=a2;i++) c[i...;i<=a2;i++) { int a3=0; s4=String.valueOf(i); a3=c[i]; s5=s5+String.valueOf 

C Tutorials

C Replace String
C Replace String       In this section, you will learn how to replace a string in C.  Here a function pointer replace is created in which variables st, orig, repl 

XML Questions

Difference in XML, C, C++, Java
Difference in XML, C, C++, Java  hi... What is the difference between XML and C or C++ or Java ? please tell me about that Thanks 

Java Beginners

Hi Friend.. Doubt on + - Java Beginners
Hi Friend.. Doubt on +   Hi friend... import java.io.*; class Plus { public static void main(String args[]) { int a=10; int b= 25... IN THE ABOVE STATE MENT : //W } } Output: C:\>javac Plus.java C:\> 

JDBC Questions

c++ - JDBC
c++  Can any one given a note on advantages and disadvantages of C 

Java Beginners

C# question
C# question  Write a program in C# to create 3*4 matrix and show the sum of diagonal values 

Java Beginners

C# question
C# question  Write a program in C# to create 3*4 matrix and show the sum of diagonal values 

Java Beginners

C# question
C# question  How can we call method pass by reference in C 

Java Interview Questions

c question
c question  How to convert decimal numbers into binary digits without using pow function in c language 

Applet Questions

c programming
c programming  write a program to input five numbers by using while loop in c programing 

Advertisements Advertisements
 

 

 

DMCA.com