Sorry! Posting Assignment is allowed only for commercial accounts.
Send Enquiry
Home
S-Cafe
Beyond Knowing
Play Quiz
Sign in
Join Sookshmas
SCafe
SLC Membership
Beyond Knowing
Play Quiz
×
Announcement
×
Claps
Show ascii
Latin1
Recent Posts
MCQ
e-Notes
Questions
Calculations
If only one memory location is to be reserved for a class variable, no matter how many objects are instantiated, then the variable should be declared as
a)extern
b)static
c)volatile
d)const
Posted on
August 25,2022 at 03:06 PM
by
Sudeep BK
C Language
GMIT Davangere
BIET Davangere
Programming Languages
4
Score(s)
0
Comment(s)
32
View(s)
Posted on
August 25,2022 at 02:39 PM
by
Gaurav kumar
Chemistry
JEE-Main
JEE-Advance
NEET
KVPY
NDA
Engineering Entrance Exams
CBSE
NCERT
CLASS-XII (PCM)
Thermodynamics
24
Score(s)
0
Comment(s)
59
View(s)
Program to check a given number is perfect or not in c
#include<stdio.h>
#include<conio.h>
void main()
{
int reminder,sum = 0 , i , orginalNum;
printf("Enter number: ");
sacnf("%d",&originalNum);
for(i=1;i<=orginalNum/2; i++)
{
reminder = orginalNum % i;
if(reminder)
{
sum = sum+i;
}
}
if(sum == originalNum)
printf("Given number is perfect number");
else
printf("Given number is not a perfect number);
}
Posted on
August 25,2022 at 01:57 PM
by
Misba Kousar
C Language
Programming Languages
Engineering-CS
18
Score(s)
0
Comment(s)
63
View(s)
What does the following string do to given string str1.
String str1 = Interviewbit.replace(e,s);
Posted on
August 25,2022 at 01:41 PM
by
Srushti S Hulyalad
GMIT Davangere
Artificial intelligence
Engineering-IS
Engineering-CS
C Language
Engineering-AI
8
Score(s)
0
Comment(s)
117
View(s)
Describe the difference between = and == symbols in C programming?
Posted on
August 25,2022 at 12:49 PM
by
Heena kousar S R
C Language
Engineering-CS
Engineering-AI
GMIT Davangere
9
Score(s)
1
Comment(s)
31
View(s)
Differentiate between getch() and getche().
Posted on
August 25,2022 at 12:34 PM
by
Bhoomika B R
GMIT Davangere
Artificial intelligence
Engineering-IS
Engineering-CS
Engineering-AI
7
Score(s)
1
Comment(s)
46
View(s)
Which statement is efficient ? x=x+1; or x++;
Posted on
August 25,2022 at 10:48 AM
by
Archana Digraj
GMIT Davangere
Engineering-IT
Engineering-CS
Engineering-AI
C Language
8
Score(s)
1
Comment(s)
47
View(s)
How can I pad a string to a known length?
Posted on
August 25,2022 at 10:34 AM
by
Khushi Patil
GMIT Davangere
Engineering-CS
Engineering-IS
Engineering-AI
SEM-II
10
Score(s)
1
Comment(s)
41
View(s)
Relational operators cannot be used in ___
Posted on
August 25,2022 at 10:12 AM
by
Vidyarani Patil
GMIT Davangere
Artificial intelligence
Engineering-AI
Engineering-CS
SEM-II
C Language
Engineering-IS
Programming Languages
Engineering-IT
Engineering - AI ML
6
Score(s)
1
Comment(s)
41
View(s)
Posted on
August 25,2022 at 09:21 AM
by
Harshit mangal
JEE-Advance
JEE-Main
NDA
KVPY
NCERT
CLASS-XII (PCM)
Engineering Entrance Exams
AIIMS
CLASS-XI (PCM)
Physics
Electrostatics
Gravitational Physics
23
Score(s)
1
Comment(s)
95
View(s)
<
>
Scroll