Find the best tutors and institutes for C++ Language

Find Best C++ Language Classes

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

C++ Language Updates

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Answered on 07 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

Ramkesh

Tutor

Its depends upon the complier but generally int size is 2 bytes. We can use modifier also for enhancing the size of int as given below: There are two modifier for INT date type 1. unsigned (2 bytes) 2. long (4 bytes) unsigned int x; unsigned x; (These... read more

Its depends upon the complier but generally int size is 2 bytes.

We can use modifier also for enhancing the size of int as given below:

There are two modifier for INT date type

1. unsigned                      (2 bytes)

2. long                             (4 bytes)

unsigned int x;   unsigned x;   (These both statements are same in C language and size is 2 bytes)

Becasue INT is by default data type in C language.

long int x;      long x;              (These both statements are same in C language and size is 4 bytes)

read less
Answers 3 Comments
Dislike Bookmark

Answered on 05 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

With basic knowledge in C, how can I apply for internships?

Pravallika B.

When the knowledge is basic, the other thing comes into play is your fast learning.If you seek things very fast then ot ia more than enough to get a goog internship in top companies. Good Luck
Answers 1 Comments
Dislike Bookmark

Answered on 01 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

How do I print the format in C programming college 1*2*3*4 \n9*10*11*12\n 13*14*15*16\n 5*6*7*8 if you... read more
How do I print the format in C programming college 1*2*3*4 \n9*10*11*12\n 13*14*15*16\n 5*6*7*8 if you have to print the N number of rows where 1<=N<=100? read less

Syed Abu Talib

void print(int n) { int m =1; int i,j; for( i=1; i<=n-1; i++) { if(i!=2) { for(j=1; j<=n; j++){ printf(“%d ”, m); m++; } printf( " "); }else{ m = m+n; for(j=1; j<=n; j++){ printf(“%d ”, m); m++; } printf(“ ”); } } for(i=n+1;i<=(n+n);i++){ printf(“%d... read more

 

  • void print(int n)
  • {
  • int m =1;
  • int i,j;
  • for( i=1; i<=n-1; i++)
  • {
  • if(i!=2)
  • {
  • for(j=1; j<=n; j++){
  • printf(“%d ”, m);
  • m++;
  • }
  • printf( " ");
  • }else{
  • m = m+n;
  • for(j=1; j<=n; j++){
  • printf(“%d ”, m);
  • m++;
  • }
  • printf(“ ”);
  • }
  • }
  • for(i=n+1;i<=(n+n);i++){
  • printf(“%d ”, i);
  • }
  • printf(“ ”);
  • }

 

read less
Answers 1 Comments
Dislike Bookmark

Looking for C++ Language Classes

Find best C++ Language Classes in your locality on UrbanPro.

FIND NOW

Answered on 01 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

How do I write a C programme that displays the square of numbers 1 to 10?

Narendra

Computer Science Tutor

#include<stdio.h> int main() { int i; for(i=1; i<=10;i++) { printf("%d=%d ", i, i*i); return 0; }
Answers 1 Comments
Dislike Bookmark

Answered on 05 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

What is the algorithm to be used to swap two numbers without using a temporary variable?

Prantik Sarkar

Tutor

There are various ways using operators and expressions. The simplest way is always recommended with some physical world scenarios. As you asked for algorithm only. Declare and initialize two variables first, second Step 1 → Add first and second and store to first Step 2 → Subtract second... read more

There are various ways using operators and expressions. The simplest way is always recommended with some physical world scenarios. 

As you asked for algorithm only.

Declare and initialize two variables first, second

Step 1 → Add first  and second and store to first

Step 2 → Subtract second from first and store to second

Step 3 → Subtract second from first and store to first

Swap completed.

Insight: 

Assuming variable having value first=10 and second=20

Now adding first with second and storing the result 10+20=30 in first.

Now subtracting the second which is still 10 from first and storing the result 30-10=20 in second

Here we achieved the initial swap

Then subtracting second which is 20 from first 30-20=10 and storing the result in first complene the final swap as now value inside variable first is 10 and second is 20.

Thank you

read less
Answers 1 Comments
Dislike Bookmark

Answered on 21/12/2018 IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

How do l make a Christmas tree shape of asterisks in C programming using loops?

Dicazo Computer Institute

#include<stdio.h>#include<conio.h> int main(){ for(int i=9; i>=1; i=i-2) { for(int k=10-i; k>=0; k=k-2) { printf(" "); } for(int j=1; j<=i; j++) { printf("*"); } printf(" "); } getch();} read more

#include<stdio.h>
#include<conio.h>

int main()
{
for(int i=9; i>=1; i=i-2)
{
for(int k=10-i; k>=0; k=k-2)
{
printf(" ");
}
for(int j=1; j<=i; j++)
{
printf("*");
}
printf(" ");
}
getch();
}

 

read less
Answers 2 Comments
Dislike Bookmark

Answered on 11 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

What do you think about the future of C#?

Ketan Agnihotri

Azure .Net Core C# MVC REST Api MCSE Consultant & Trainer

C# is a very simple language to learn. You can do object-oriented programming. Microsoft continuously adding new features which are helping developers to do deliver software rapidly. Its syntax is like c, c++, java.
Answers 1 Comments
Dislike Bookmark

Answered on 10 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +2 IT Courses/Programming Languages/C++ Language/Basic C++ IT Courses/Programming Languages/C++ Language less

Why is manually de-allocating memory using a keyword, such as "delete" in C++, faster than the automatic... read more
Why is manually de-allocating memory using a keyword, such as "delete" in C++, faster than the automatic garbage collector, such as in Java? read less

Ketan Agnihotri

Azure .Net Core C# MVC REST Api MCSE Consultant & Trainer

manually de-allocating memory using delete in C++ is much slower than a production garbage collection. Memory deallocation in a production tracing garbage collected system like Java is extremely efficient. Specifically, ~1MB of garbage objects are freed by resetting a single pointer. GC maintains the... read more

manually de-allocating memory using delete in C++ is much slower than a production garbage collection. Memory deallocation in a production tracing garbage collected system like Java is extremely efficient. Specifically, ~1MB of garbage objects are freed by resetting a single pointer. GC maintains the tree of pointer and free the memory which is not connected by any tree node.

read less
Answers 1 Comments
Dislike Bookmark

Answered on 07/12/2018 IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +1 IT Courses/Programming Languages/C++ Language/Basic C++ less

What is the meaning of â??N += n < 10 " in the C languages?

Sampada P.

Tutor

(N=N+n)<10
Answers 2 Comments
Dislike Bookmark

Looking for C++ Language Classes

Find best C++ Language Classes in your locality on UrbanPro.

FIND NOW

Answered on 01 Jan IT Courses/Programming Languages/C Language Tuition/BCA Tuition/C Language Programming IT Courses/Programming Languages/C++ Language/Advanced C++ +1 IT Courses/Programming Languages/C++ Language/Basic C++ less

How do I find the length of an array in C?

Narendra

Computer Science Tutor

By using a loop, we can find the length of an array. For example, char a, is character array and we can find out the length of the array by using a loop like, for(i=0;a !='\0'; i++);. After execuation, the length of the array is i.
Answers 2 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best C++ Language Classes in India. Post Your Requirement today and get connected.

Overview

Questions 357

Total Shares  

+ Follow 44,244 Followers

Related Topics

Top Contributors

Connect with Expert Tutors & Institutes for Basic C++

x

Ask a Question

Please enter your Question

Please select a Tag

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more