Sign Up

Continue with Google
or use


Have an account? Sign In Now

Sign In

Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question. Please subscribe to paid membership

Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Sorry, you do not have permission to add post. Please subscribe to paid membership

Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Query Karo

Query Karo

Query Karo Navigation

  • NexTec Cyber Cafe
    • Quick Links
    • ITR Filing Service
    • CN: 1 Daily I-Calculator (Sunday Off)
    • CN: 2 DIC (Friday Off)
    • Service Charge
    • Annual Customers Worksheet
    • Forms
    • Print
    • CCM
    • ITR Details
    • Bill Book
  • NexTec Interior Solutions
    • RPSqF
    • Quotation
    • CPL
    • Catalogue
    • Video
    • Marketing
    • Quick Links
      • Marketing
      • Training
      • T&Cs
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • NexTec Cyber Cafe
    • Quick Links
    • ITR Filing Service
    • CN: 1 Daily I-Calculator (Sunday Off)
    • CN: 2 DIC (Friday Off)
    • Service Charge
    • Annual Customers Worksheet
    • Forms
    • Print
    • CCM
    • ITR Details
    • Bill Book
  • NexTec Interior Solutions
    • RPSqF
    • Quotation
    • CPL
    • Catalogue
    • Video
    • Marketing
    • Quick Links
      • Marketing
      • Training
      • T&Cs

Programming in C

Share
  • Facebook
19 Followers
1 Answer
31 Questions
Home/CSE - Computer Science and Engineering/Programming in C
  • Recent Questions
  • New Questions
  • Sticky Questions
  • Random
  • Most Answered
  • Answers
  • No Answers
  • Most Visited
  • Most Voted
  • Bump Question
  • Polls
  • Followed Questions
  • Favorite Questions

Query Karo Latest Questions

Anonymous
  • 2
Anonymous
Asked: May 22, 2022In: Programming in C

Invalid constants?

  • 2

What determines whether something is an invalid constant?  

What determines whether something is an invalid constant?

 

Read less
  1. Himabala Padmini
    Himabala Padmini CSE
    Added an answer on May 23, 2022 at 2:14 pm

    While defining a constant there are some rules that must be followed. for example: To define integer constant rules are: -It must have at least one digit. -There must be no decimal point. -It does not allow any blanks or commas. -An integer constant can be both negative and positive. -We assume an iRead more

    While defining a constant there are some rules that must be followed.

    for example: To define integer constant rules are:

    -It must have at least one digit.

    -There must be no decimal point.

    -It does not allow any blanks or commas.

    -An integer constant can be both negative and positive.

    -We assume an integer constant to be positive if there is no sign in front of that constant.

    -The allowable range for this type of constant is from -32768 to 32767.

    similarly, rules exist for the string constant, real constant, character constant, floating-point constant, etc.

    • And those constants which do not follow these rules are considered as invalid constants.

    Ex:

    ‘ab’ is an invalid character constant (since char must have only one literal)

    25,234 is an invalid integer constant (since is not an integer)

    25 is an invalid floating-point constant (since it doesn’t contain . a period), etc.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
  • 98 Views
  • 3 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to print all its trigonometric ratios

  • 0

If value of an angle is input through the keyboard, write a program to print all its trigonometric ratios.

If value of an angle is input through the keyboard, write a program to print all its trigonometric ratios.

Read less
  • 0 Answers
  • 92 Views
  • 1 Follower
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

The maximum value that an integer constant can have varies from one compiler to another.

  • 0

Poll Results

100%True ( 4 voters )
0%False ( 0 voters )
Based On 4 Votes

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 72 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

Spaces may be inserted between two words in a C statement.

  • 0

Poll Results

100%True ( 2 voters )
0%False ( 0 voters )
Based On 2 Votes

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 57 Views
  • 0 Followers
Answer
Query Karo
  • -1
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

Write a program to calculate and print paper sizes A0, A1, A2,… A8.

  • -1

Paper of size A0 has dimensions 1189mm*841mm.Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides. Thus paper of size A1 would have dimensions 841mm*594mm.Write a program to calculate and print paper sizes A0, ...Read more

Paper of size A0 has dimensions 1189mm*841mm.Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides. Thus paper of size A1 would have dimensions 841mm*594mm.Write a program to calculate and print paper sizes A0, A1, A2,… A8.

Read less
  • 0 Answers
  • 55 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

Which of the following are invalid C constants and Why?

  • 0

Poll Results

16.67%(a) '3.15' ( 1 voter )
16.67%(b) 35,550 ( 1 voter )
0%(c) 3.25e2 ( 0 voters )
16.67%(d) 2e-3 ( 1 voter )
0%(e) 'elearning' ( 0 voters )
16.67%(f) "show" ( 1 voter )
0%(g) 'Quest' ( 0 voters )
33.33%(h) 2³ ( 2 voters )
0%(i) 4652 ( 0 voters )
Based On 6 Votes

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 49 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to interchange the contents of C and D.

  • 0

Two numbers are input through the keyboard into two locations C and D.Write a program to interchange the contents of C and D.

Two numbers are input through the keyboard into two locations C and D.Write a program to interchange the contents of C and D.

Read less
  • 0 Answers
  • 48 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

A real constant in C can be expressed in both fractional and exponential forms.

  • 0

Poll Results

100%True ( 3 voters )
0%False ( 0 voters )
Based On 3 Votes

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 48 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to reverse the number

  • 0

If a five digit number is input through the keyboard, write a program to reverse the number.

If a five digit number is input through the keyboard, write a program to reverse the number.

Read less
  • 0 Answers
  • 45 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to compute the smallest number of notes that will combine to give Rs. N

  • 0

Consider a currency system in which there are notes of seven denominations, namely,Re.1,Rs.2,Rs.5,Rs.10,Rs.50,Rs.100.If a sum of Rs. N is entered through the keyboard, write a program to compute the smallest number of notes that will combine to give Rs. N

Consider a currency system in which there are notes of seven denominations, namely,Re.1,Rs.2,Rs.5,Rs.10,Rs.50,Rs.100.If a sum of Rs. N is entered through the keyboard, write a program to compute the smallest number of notes that will combine to give Rs. N

Read less
  • 0 Answers
  • 44 Views
  • 0 Followers
Answer

Sidebar

Pick Category

Explore

  • Query Karo
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Logo
Platform of Knowledge

Services

  • Home Tutors Provider
  • Home Tuition Consultancy
  • Tuition Centre Consultancy
  • School Consultancy
  • College Consultancy
  • Advertise

Career

  • Job Vacancy

About Us

  • About Us
  • Contact Us

Help

  • Fraud Alert Guidelines

Press

  • Press

Sitemap

  • Sitemap

Business

  • Become Channel Partners
  • Become Franchise Partner

Legal Policies

  • Cookie Policy
  • Privacy Policy
  • Refund Policy
  • Terms of Service
  • Cancellation Policy

Pricing

  • Pricing

Request

  • Request a feature

Operating Address

Maa Complex, Ahead Chargharwa More, Dalluchak, Khagaul, Patna – 801105 , Bihar, India

Contact Us

Landline No: +91 6123598814

Mail: support@querykaro.com

Time: 9 AM – 9 PM

Book Demo

Contact No: +91 9546287440

Mail: mail@querykaro.com

Time: 24/7 Support

Feedback

  • Share Your Feedback

Follow Us

  • Query Karo
  • YouTube

Download App

Home Tuition App

© 2021-24 Query Karo. All Rights Reserved.