answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

How do you check strings and pointers in C code?

Here is a page that will teach you about strings and pointers. www.juicystudio.com/tutorial/c/strings.asp Just saying String and Pointer don't actually aid us to describe what actually has to be answered .An Array is just repeatation of similar data types and String is as similar repeatation of continious characters in C. A String momentarily differs from a character array in terms of what the representations are for e.g. {'a','b','\0','i','s'}and{'a','b','\0','i','s','\0'}both are character arrays but in Ist "ab " is the string while in IInd "ab is" is as a whole is string for the string to be checked a ordidary way is to check the presence of the '\0' at last of its representation : Means :->check (Stringdef[i]!='\0')?HAS_MORE_CHAR:END_OF_STRING; for pointer validity:-> check (Ptr)?PTR_VALID:NOT_DEFINED; For more resurces just check any of the C material where the pointers are discussed and any misclearity mail me @ rupesh_joshi@sify.com,rupesh.joshi@gmail.com


What is the sylibus in aerospace engineering?

B.Tech.-Aerospace Engg. B.Tech.-Aerospace Engg.Semester 1 * Applied Mathematics - I * Applied Physics - I - Fields & Waves * Applied Chemistry - I * Elements of Mechanical Engineering * Introduction to Computers * Electrical Science * Applied Physics Lab - I * Applied Chemistry Lab - I * Programming in C Lab * Electrical Science Lab * Engineering Graphics Lab * English * Behavioural Science - I * Foreign Language - IFrenchGermanSpanishJapaneseChinese Note: The students will study English from Ist semester but final evaluation will be done at the end of IInd semester. However continuous evaluation will start from the Ist Semester. Semester 2 * Applied Mathematics - II * Applied Physics - II - Modern Physics * Applied Chemistry - II * Object Oriented Programming using C++ * Engineering Mechanics * Applied Life Sciences * Applied Physics Lab - II * Applied Chemistry Lab - II * Object Oriented Programming using C++ Lab * Engineering Mechanics & Elements of Mechanical Engineering Lab * English * Behavioural Science - II * Foreign Language - IIFrenchGermanSpanishJapaneseChinese TERM PAPER - 6 - 8 WEEKS Semester 3 * Elements of Aerospace Engineering * Numerical Analysis & Programming * Electronics * Thermodynamics * Mechanics of Solids * Mechanics of Fluids * Elements of Aerospace Engineering Lab * Programming Lab - I (Numerical Analysis) * Electronics Lab * Mechanics of Solids/ Mechanics of Fluids Lab * Mechanical Engineering Drawing Lab * Communication Skills - I * Behavioural Science - III * Foreign Language - IIIFrenchGermanSpanishJapaneseChinese * Term Paper (Evaluation) Semester 4 * Aerodynamics - I * Propulsion Systems - I * Aircraft Structures - I * Manufacturing Machines * Electrical Machines * Metrology * Aerodynamics Lab - I * Propulsion Systems Lab - I * Electrical Machines Lab * Machine Shop Lab * Metrology Lab * Communication Skills - II * Behavioural Sciences - IV * Foreign Language - IVFrenchGermanSpanishJapaneseChinese PRACTICAL TRAINING - I(An in-house Training Programme of 6 weeks is to be conducted during the Summer-break after the IV semester. This carries three credits, which will be accounted for in the V Semester) Semester 5 * Propulsion System - II * Aerodynamics - II * Aircraft Structures - II * Measurements & Controls * Materials Science & Metallurgy * Jet Propulsion Lab * High Speed Aerodynamics Lab * Measurement & Controls Lab * Programming Lab - III (MAT Lab) * Communication Skills - III * Behavioural Sciences - V * Foreign Language - VFrenchGermanSpanishJapaneseChinese* Practical Training - I (Evaluation) Semester 6 * Aircraft Design * Aircraft Stability and Control * Aircraft Materials and Processes * Airplane Performance * Select any one:Industrial ManagementORManagement of Manufacturing Systems * Airplane Structures Lab - II * Aero Model Design & Fabrication Lab * Programming Lab - IV (Advanced-Auto CAD) * Communication Skills - IV * Behavioural Sciences - VI * Foreign Language - VIFrenchGermanSpanishJapaneseChinese * Minor Project PRACTICAL TRAINING - II(Training Programme of 6 weeks is to be conducted during Summer-break after VI Semester. This carries six credits, which will be accounted for in the VII Semester) Semester 7* Operations Research * Flight Dynamics * Aircraft Maintenance * Operations Research (Programming) Lab * Computational Structural Analysis (FEM) Lab * CFD Lab * Programming Lab - V * Communication Skills - V * Behavioural Sciences - VII * Foreign Language - VIIFrenchGermanSpanishJapaneseChinese * Practical Training - II (Evaluation) * Electives (Any two of the following) ** Airplane Structural Analysis ** Boundary Layer Theory ** Composite Materials ** Computational Aerodynamics ** Marketing Management ** Principles of Helicopter EngineeringSemester 8 * Theory of Vibrations * Quality Control & Quality Assurance * Experiments in Vibrations Lab * Seminars & Colloquiums * Communication Skills - VI * Behavioural Sciences - VIII * Foreign Language - VIIIFrenchGermanSpanishJapaneseChinese * Major Project * Electives (Any two of the following) ** Introduction to Automatic Flight Control ** Rockets and Missiles ** Aeroelasticity ** Optimization Techniques ** Manufacturing Information Systems ** Personnel Management ** Financial Management ** Value Engineering soure: Amity university NOIDA website


Write a c plus plus program to add two matrix using arrays?

Matrix Add/* Program MAT_ADD.C**** Illustrates how to add two 3X3 matrices.**** Peter H. Anderson, Feb 21, '97*/#include &ltstdio.h>void add_matrices(int a[][3], int b[][3], int result[][3]);void print_matrix(int a[][3]);void main(void){int p[3][3] = { {1, 3, -4}, {1, 1, -2}, {-1, -2, 5} };int q[3][3] = { {8, 3, 0}, {3, 10, 2}, {0, 2, 6} };int r[3][3];add_matrices(p, q, r);printf("\nMatrix 1:\n");print_matrix(p);printf("\nMatrix 2:\n");print_matrix(q);printf("\nResult:\n");print_matrix(r);}void add_matrices(int a[][3], int b[][3], int result[][3]){int i, j;for(i=0; i&lt3; i++){for(j=0; j&lt3; j++){result[i][j] = a[i][j] + b[i][j];}}}void print_matrix(int a[][3]){int i, j;for (i=0; i&lt3; i++){for (j=0; j&lt3; j++){printf("%d\t", a[i][j]);}printf("\n");}}


Related Questions

What is Perumbur IInd Sethi's population?

The population of Perumbur IInd Sethi is 1,316.


Timetable BA IInd year kumaun university nainital?

ar exam


Result of BA iind year 2oo9 of jaunpur university?

my.roll.n.602217.b.a.part.two.2009


Exam date of ba part IInd year 2009-mdsu ajmer?

OPEN TIME TABLE


Where will you get the date sheet of BA IInd year Punjabi university patiala?

It is available on the web. See the related link.


Exam date of IInd semester BSC in calicut university?

pinnethina ee site vach nadakkunnath


Dbrau BA IInd exam 2010 ka result kab ayega?

i thing 15 september ko aayega


When are bca second year exam results of pune university?

how can i get my result of BCA IInd yr of MDS university and my Roll no.is 8367


Why 2nd rajputana regiment is so noted?

the IInd Raj Rif. is such a noted reg. of the Indian Army because it has played some significant role in the Indian Armed forces. Being one of the most decorative regiment of the INDIAN ARMY the IInd Raj Rif has given brave officers like Maj. Padmapani Acharya and Capt. Vijyant Thaaper ( the famous letter from Kargil was written by him) The two fine soldiers who made the supreme Sacrifice and were awarded with Ashok and Mahaveer chakras. These are some of the reason IInd Raj Rif is so great. 3rd reason is........ I am an proud officer of this Unit,,


Due date of filling of DVAT -51 Year 2007-08 2008-09?

2008-09 -istqtr and iind qtr is 15-05-08


Who was the Princess from India was in the first batch of women to be infiltrated into France for carrying out espionage during the IInd World War?

I think you are talking about Noor Inayat Khan.


Where NIIT Centre in Gandhinagar, Gujarat, India?

201-205, IInd Floor, Jalaram Square Complex Sector-06 , GH-2, Gujarat 382006