Defendant assigns as error the trial court’s action in admitting over objection the following testimony of Officer Wood:
*205“I asked Mr. Sykes if he had been drinking and he said yes. I asked him to walk for me. As he was walking there on the driveway he was staggering. ... I gave the balance test and at the time I gave him this test he fell forward noticeably. I advised Mr. Sykes he was under arrest for driving under the influence. ...”
Defendant contends his incriminating statement was elicited by custodial interrogation before he had been advised of his constitutional rights as mandated in Miranda v. Arizona, 384 U.S. 436, 16 L.Ed. 2d 694, 86 S.Ct. 1602 (1966). He therefore argues that his incriminating statement should have been excluded.
 Miranda warnings and waiver of counsel are required when, and only when, the defendant is being subjected to custodial interrogation. State v. Blackmon, 284 N.C. 1, 199 S.E. 2d 431 (1973). “By custodial interrogation, we mean questioning initiated by law enforcement officers after a person has been taken into custody or otherwise deprived of his freedom of action in any significant way.” Miranda v. Arizona, supra.
At the time Officer Wood asked defendant if he had been drinking, defendant was not in custody, under arrest, or “deprived of his freedom of action in any significant way.” While there is no absolute test to ascertain exactly when an arrest occurs, the time and place of an arrest is determined in the context of the circumstances surrounding it. State v. Allen, 282 N.C. 503, 194 S.E. 2d 9 (1973).
Officer Wood’s initial detention of defendant to investigate defendant’s erratic driving did not amount to an arrest. “The brief detention of a citizen based upon an officer’s reasonable suspicion that criminal activity may be afoot is permissible for the purpose of limited inquiry in the course of a routine investigation, and any incriminating evidence which comes to the officer’s attention during this period of detention may become a reasonable basis for effecting a valid arrest.” United States v. Harflinger, 436 F. 2d 928 (8th Cir. 1970).
Furthermore, the decision in Miranda was not intended to hamper the traditional function of police officers in investigating crime. “Such investigation may include inquiry of persons not under restraint. General on-the-scene questioning as to facts surrounding a crime or other general questioning of citizens in the fact-finding process is not affected by our holding. ... In *206such situations the compelling atmosphere inherent in the process of in-custody interrogation is not necessarily present. * * * In dealing with statements obtained through interrogation, we do not purport to find all confessions inadmissible. Confessions remain a proper element in law enforcement. Any statement given freely and voluntarily without any compelling-influence is, of course, admissible in evidence.” Miranda, v. Arizona, supra.
In relation to routine police investigations of traffic violations, one federal court had this to say:
“The questioning of a driver of a stopped car on an open highway by one policeman, without more, cannot be characterized as a ‘police dominated’ situation or as ‘incommunicado’ in nature. * * * This general on the scene questioning is a well accepted police practice; it is difficult to imagine the police warning every person they encounter of his Miranda rights. This is why the opinion in Miranda expressly excluded ‘on-the-scene questioning’ from the warning requirements.” Lowe v. United States, 407 F. 2d 1891 (9th Cir. 1969).
 In the factual context of this case defendant was not in custody and Officer Wood was merely in the process of conducting a general on-the-scene investigation when defendant responded that he had been drinking. It was only after that admission, and after observing defendant’s inability to walk normally or retain his balance that he was placed under arrest. In light of these facts, Miranda warnings were not required.
We observe in passing that State v. Beasley, 10 N.C. App. 663, 179 S.E. 2d 820 (1971), and State v. Tyndall, 18 N.C. App. 669, 197 S.E. 2d 598 (1973), should not be interpreted to hold that the rules of Miranda are inapplicable to all motor vehicle violations. We said in State v. Hill, 277 N.C. 547, 178 S.E. 2d 462 (1971) : “One who is detained by police officers under a charge of driving under the influence of an intoxicant has the same constitutional and statutory rights as any other accused.” (Emphasis added.) We adhere to that view. Even so, it was no violation of this defendant’s constitutional rights for the officer to observe and converse with him during the on-the-scene investigation and then testify with respect to defendant’s state of insobriety. For a general discussion on the applicability of Miranda to traffic offenses, see Annotation, Police Interrogation *207—Traffic Offense, 25 A.L.R. 3d 1076 (1969). Defendant’s first assignment of error is overruled.
 After advising defendant he was under arrest for driving under the influence of intoxicants, Officer Wood asked him if he would take a breathalyzer test and defendant said that he would. Officer Wood then requested Trooper Flynn to come to the jail to perform the breathalyzer test. Prior to giving defendant the test Trooper Flynn advised him of his statutory rights to an attorney or a witness to observe the test so long as it did not delay the test over thirty minutes. Defendant said he did not want an attorney or witness and the test was administered with his consent at 12:25 a.m. on 15 June 1972. Over defendant’s objection, the results of the breathalyzer test were admitted in evidence. The action of the court in this respect constitutes the basis for defendant’s second assignment of error.
Defendant concedes that the breathalyzer test was properly administered by a qualified operator. His argument is that at the time Officer Wood obtained defendant’s initial commitment to take the breathalyzer test, defendant had not waived his constitutional right to counsel and had not been advised of his statutory rights embodied in G.S. 20-16.2 (a).
We hold it immaterial that defendant had not waived counsel at the time he initially told Officer Wood he would take the breathalyzer test. Admission of the breathalyzer test is not dependent upon whether Miranda warnings have been given and constitutional right to counsel waived. In State v. Randolph, 273 N.C. 120, 159 S.E. 2d 324 (1968), this Court, citing Schmerber v. California, 384 U.S. 757, 16 L.Ed. 2d 908, 86 S.Ct. 1826 (1966), held that the taking of a breath sample from an accused for the purpose of the test is not evidence of a testimonial or communicative nature within the privilege against self-incrimination. For that reason the requirements of Miranda are inapplicable to a breathalyzer test administered pursuant to our statutes.
 Equally untenable is defendant’s contention that the results of the breathalyzer test were inadmissible because his initial “commitment” to take the test was obtained before he was advised of his statutory rights embodied in G.S. 20-16.2(a).
*208G.S. 20-16.2 (a), as written at the time the offense involved in this case was committed, read in pertinent part as follows:
“(a) Any person who operates a motor vehicle upon the public highways of this State . . . shall be deemed to have given consent, subject to the provisions of G.S. 20-139.1, to a chemical test or tests of his breath or blood for the purpose of determining the alcoholic content of his blood if arrested for any offense arising out of acts alleged to have been committed while the person was driving a motor vehicle while under the influence of intoxicating liquor. The test or tests shall be administered at the request of a law-enforcement officer having reasonable grounds to believe the person to have been driving a motor vehicle upon the public highways of this State . . . while under the influence of intoxicating liquor. The law-enforcement officer shall designate which of the aforesaid tests shall be administered. Before any of the tests shall be administered, the accused person shall be permitted to call an attorney and to select a witness to view for him the testing procedures; providing, however, that the testing procedures shall not be delayed for these purposes for a period of time of over thirty (30) minutes from the time the accused person is notified of these rights.”
Any person under arrest on 14 June 1972, the date of this offense, who willfully refused to take the breathalyzer test was subject to mandatory revocation of his driving privilege for a period of sixty days. See G.S. 20-16.2 (c) as rewritten by Chapter 1074 of the 1969 Session Laws.
Under G.S. 20-16.2 (a) defendant, by driving his vehicle on the public highway, is deemed to have given his consent to takq the test. Refusal to take the test subjected him to the sixty-day revocation penalty. Under the statute he was entitled to be informed of that fact and he was so informed by Officer Wood. Before the test was administered he had the right to call an attorney and to select a witness to view for him the testing procedures. He was so informed by Trooper Flynn and stated he did not want an attorney or witness.
It is perfectly apparent that defendant expressly waived the presence of counsel and of a witness to view the testing procedures and voluntarily took the breathalyzer test. His statement to Officer Wood, prior to being advised of his statutory *209rights, that he would take the test had no coercive effect upon him and affords no ground whatsoever for a new trial. Defendant was fully advised of the rights afforded him by the statute and was entitled to nothing more under either the statuté or the Constitution.
For the reasons stated, decision of the Court of Appeals is